How to restrict Visual Studio 2012.2 from generating .css files in a LESS editor?

When you save non-zero files in Visual Studio 2012.2, the LESS editor generates the corresponding .css files.

I need to disable this functionality since I want to have only .less files under source control and in the project file list (.csproj).

+4
source share
2 answers

Visual Studio Menu> Tools> Options> Basic Web Sites> LESS

enter image description here

+5
source

You can install .css files in a specific directory that will be ignored from your version control system. Each system has its own way of saying ignore files, so if you want to follow this path, you better tell us what VCS you are using, or search for this function yourself.

0
source

Source: https://habr.com/ru/post/1483047/


All Articles