Martin Buberl Martin Buberl - 1 year ago 114
Less Question

ASP.NET and Web Tools 2012.2 reference LESS files

I just installed the ASP.NET and Web Tools 2012.2.

It finally provides first-class support for editing LESS files, complete with syntax highlighting, Intellisense, and validation.

My problem is, that my mixins and variables files are in seperate files and bundling is done dynamically, so that Intellisense isn't kicking in for them. How can I add a reference to these files in my LESS files without using


Answer Source

You can add references to your LESS files similar like you would do it for JavaScript files in Visual Studio:

/// <reference path="../../_variables.less" />
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download