Search code examples
visual-studiolessweb-essentials

Can Web Essentials be configured to NOT add *.css files to Visual Studio project?


We are using Visual Studio + Web Essentials to compile LESS files to CSS. Whenever we change a LESS file Web Essentials insists on creating a *.css, *.min.css and a *.css.map file AND add them to the Visual Studio project file.

We don't want to check-in these files to Source Control the same as we don't check-in dll files.

So my question is: Can we configure Web Essentials to NOT add *.css & *.css.map to VS project?


Solution

  • No. Web Essentials will add the generated CSS files to the VS Project.

    You can use dotless to generate CSS files on build without adding them to the VS project.