Grief Coder
Grief Coder

Reputation: 6786

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

When you save .less files in Visual Studio 2012.2, LESS editor generates corresponding .css files.

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

Upvotes: 4

Views: 776

Answers (2)

Konstantin Tarkus
Konstantin Tarkus

Reputation: 38378

Visual Studio Menu > Tools > Options > Web Essentials > LESS

enter image description here

Upvotes: 5

p91paul
p91paul

Reputation: 1142

You can set .css files in a specific directory to be ignored from your version control system. Each system has his own way to be told to ignore files, so if you want to follow this way you should better tell us what VCS are you using, or search for this functionality on your own.

Upvotes: 0

Related Questions