LESS files for ASP.NET and web tools 2012.2

I just installed ASP.NET and web tools 2012.2 .

Finally, it provides first-class support for editing LESS files, including syntax highlighting, Intellisense, and validation.

My problem is that my mixins and variables files are in separate files and the merging is done dynamically so Intellisense doesn't kick them. How to add a link to these files to LESS files without using @import?

+5
source share
1 answer

You can add links to your LESS files, similar to JavaScript files in Visual Studio:

/// <reference path="../../_variables.less" />
+8
source

All Articles