This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi! I've bought the Pro version recently, to have full support for LESS. I've used SASS before this to test out WW and was happy with it. I'm migrating my SASS files to LESS now, but am having trouble compiling LESS. The .css and .min.css simply don't get generated. I did have Chirpy installed before, for the sole purpose of running T4MV on every save, but have removed it, but my LESS files are still not compiling. Please help me solve this problem. -- gligoran |
|
|
Check Mindscape > Web Workbench Settings and make sure the Compile and Minify options are checked for your Less files. |
|
|
That was one of the first things I checked. Tried turning it off and on, to see if maybe the first time it didn't grab or something, but sadly no luck. The other thing that I find strange is that there's not highlighting and the nested selectors have red squigglies under them. For example if I a simple test.less and then add:
The anchor tag gives me a warning: } expected |
|
|
The intellisense issue looks like you have .less files associated with the CSS editor. This is something that Chirpy does, though I believe it normally removes this setting when it exits. Could you have a look in the registry at:
and see if that key exists? If it does (and has the value
and see if there is a value named (You will need to restart Visual Studio after making these changes.) However this affects only highlighting and intellisense; it shouldn't affect compilation. Could you try opening the Visual Studio Output window and forcing a recompile? We usually force the Output window to open if a compilation error occurs -- and a compilation error can result in no output files -- but it's possible that the window isn't displaying for some reason. |
|
|
Fixed it. At first I found both of these keys in the registry and deleted them, but they were back as soon as I started Visual Studio up again. That made me thing there was still something in VS that was marking LESS as CSS. And there was. An extension I install a long time ago called CSS is LESS. Uninstalled it and viola, no more red squigglies and the compiling works now. I reinstalled Chirpy as well and it's playing along with WW. Thanks for the help. |
|