less on iis not working

回眸只為那壹抹淺笑 提交于 2019-12-11 23:17:56

问题


I use less with the dotless dll downloaded from

http://www.dotlesscss.org/

I have added to web config all references suggested by the site

<add type="
    dotless.Core.LessCssHttpHandler
    ,dotless.Core" validate="false"
    path="*.LESS" verb="*" />

<section name="dotless"
    type="dotless.Core.configuration.
    DotlessConfigurationSectionHandler
    ,dotless.Core" />

When i run the application with visual studio development server on my pc all works fine. When i run the application with local IIS there is an error

GET .../myapplication/Styles/SiteLess.less 500 (Internal Server Error)

there is another settings on iis 7.5?

来源:https://stackoverflow.com/questions/25606476/less-on-iis-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!