Compile LESS style sheet into CSS file in Visual Studio 2015

Tuesday, November 13, 2018 / mcchu28


You can add a LESS file in Visual Studio by right clicking on a target folder in your project in Visual Studio 2015.

Next, choose Add > New Item. On the left menu, choose Installed > Visual C# > Web > Markup. Then you will see LESS Style Sheet.


Next on the Visual Studio top menu, choose Tools > Extensions and Updates. Then on the left menu on the popup window, choose Online. Then in the search box, type web compiler. Select Web Compiler from the search result and install it.


After the Web Compile is installed, you can now right click your .less file and choose Web Compiler > Compile file.