-2

When Visual Studio publish feature is used, it does not publish the css files created by dotless.

E.g. I have a less style sheet named Site.less and upon build it will create Site.css. However as the Style.css file is not included in the project it will not get published.

Appreciate any ideas.

Ajay
  • 46
  • 1

1 Answers1

0

Found it...http://haacked.com/archive/2009/12/01/t4-template-for-less-css.aspx

Add this template to you project. It will compile on change rather than on build.

Aron
  • 15,464
  • 3
  • 31
  • 64