Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Using dotLess

deldy's Avatar

deldy

11 Mar, 2011 02:49 PM

I have a problem with using .LESS on AppHarbor.

It looks like that adding a HttpHandler for .less don't really work on AppHarbor. If I change the handler to map to .css then it works, but its not really optimal to process any .css with .LESS.

Is there anything special I need to add to my web.config file, to make it process .LESS files?

  1. Support Staff 1 Posted by friism on 11 Mar, 2011 05:21 PM

    friism's Avatar

    I don't see why .css files should be different that .less files. Can you be more specific about the errors your are getting? Also, are you sure the .less file has been added with Build Action set to Content to make sure it gets copied to the out folder?

  2. 2 Posted by deldy on 16 Mar, 2011 08:00 PM

    deldy's Avatar

    Hi Michael,

    You was absolutely right. Setting the Build Action to content fixed it lige a charm

    Thanks for the help :)

  3. friism closed this discussion on 16 Mar, 2011 08:02 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac