runs just fine in both debug and release under multiple VS 2012 PCs...
It runs great in VS2012 on all of our developer PCs (debug and release), but being deployed to IIS 7+, we get none of our client-side rendering (with no exceptions, just a blank portion for the client-side stuff). The same page has a server-side header
portion of the page WHICH DOES RENDER. BUT none of it has ANY .css styling.
did the following so far (in our DEVELOPMENT SERVER, but unfortunately, our vendor left us holding "the bag" for server configuration):
1. Mine Type Feature Delegation is set to Read/Write in IIS
2. .less is set to text/css as far as mimetypes go IIS (not declared in the web.config)
3. In the Content directory for the ASP.NET web solution, all of the .less files are set to Build Action -> Content and Copy to Output Directory -> Copy Always.
4. tried this too (without any luck): http://www.atomopoly.com/?q=content/installing-less-iis-75 (change of auth for application pool)
5. added a handler mapping in IIS:
Site -> Handler Mappings -> Add Script Map
Request path: *.less
Executable: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
Name: Less CSS
6. web.config (.less portions)
<configuration>
<configSections>
:
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" />
</configSections>
:
<httpHandlers>
<add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
</httpHandlers>
:
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition="" />
</handlers>
:
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
:
<dependentAssembly>
<assemblyIdentity name="dotless.Core" publicKeyToken="96b446c9e63eae34" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<dotless minifyCss="false" cache="true" web="true" />
</configuration>
thanks
rob k