user197508
user197508

Reputation: 1302

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

Upvotes: 17

Views: 7097

Answers (3)

raddevus
raddevus

Reputation: 9087

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

Upvotes: 3

user197508
user197508

Reputation: 1302

I solved my problem by installing Web Developer Tools 2012.2

Upvotes: 9

Mads Kvist Kristensen
Mads Kvist Kristensen

Reputation: 2620

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

Upvotes: 11

Related Questions