Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Less not work with WebEssentials in visual studio 2012

When i create a less file with .less extension, WebEssentials not show less syntax(intellisence, colored syntax) And not appear preview page, ever not known less files!

also all of less options in WebEssentials settings is enabled.

what is problem?

SOLUTION: My Problem Not Solved by Installing Asp.Net Web Tools 2012.2.

I Solved Problem By Installing Web Developer Tools 2012.2 from => http://go.microsoft.com/fwlink/?LinkID=282228

like image 453
user197508 Avatar asked Mar 12 '13 16:03

user197508


3 Answers

You need to install "ASP.NET and Web Tools 2012.2" to get the LESS editing experience to light up in VS.

like image 169
Mads Kvist Kristensen Avatar answered Oct 10 '22 20:10

Mads Kvist Kristensen


I solved my problem by installing Web Developer Tools 2012.2

like image 26
user197508 Avatar answered Oct 10 '22 20:10

user197508


I could not get VStudio 2012 to recognize the .less files either. Finally, I went to Tools...Extensions and Updates... I then disabled the Web Essentials plugin (see image) by clicking the Disable button. enter image description here

After that, Visual Studio will ask if you want to restart. Click the "Yes" button. Next go back to Tools...Extensions and Updates...

Now, go ahead and go down to the Web Essentials item and select it. You can now click the Enable button and restart again.

This time when it restarted my .less file now displayed the split screen, but I still couldn't see the .css file it generates at the left (see image). I clicked the "Show All Files" up in solution explorer, but they still didn't show. Finally, I double-clicked the .less file and it generated the split screen on the left and the list of gen'd files showed up.

Files Generated by .less

like image 21
raddevus Avatar answered Oct 10 '22 20:10

raddevus