DotLess

Discussion in 'ASP.NET / ASP.NET Core' started by Pickels, Jan 22, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    I am trying to use the dotless HttpHandler but it's not really working. Locally the Handler works fine and parse the *.less file into css but on my hosting it's not working. Am I missing something really obvious here?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    what do you mean by not working? do you get any error?

    are you hosted on iis6 / 7?
     
  3. IIS 7

    Normally when you request a .less file it will convert it to css. On my hosting it just shows it as less code. I added the dotless.core.dll to my bin folder and added the handler to my web.config.

    Code:
    <httpHandlers>
        <add type="dotless.Core.LessCssHttpHandler,dotless.Core" validate="false" path="*.LESS" verb="*"/>
    </httpHandlers>
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    Looks like you did everything you are supposed to. Have you check w/ their support?
     
  5. Did you find a solution for this problem, I am having the same issue?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page