css - Unable to get dotLess to work -


I'm using.

I followed all his instructions (which seems quite simple). This is only 4 steps :)

My minimum web. Config looks like this:

  & lt; Configuration & gt; & Lt; ConfigSections & gt; & Lt; Section name = "dotless" type = "dotless@core.configation.dotales configuration designhandler, dotless .core" /> & Lt; / ConfigSections & gt; & Lt; Dotless minifyCss = "false" cache = "true" /> & Lt; System.web & gt; & Lt; HttpHandlers & gt; & Lt; Add type = "dotless.Core.LessCssHttpHandler, dotless.Core" validate = "wrong" path = "*. Short" verb = "*" /> & Lt; / HttpHandlers & gt; & Lt; /system.web> & Lt; System.webServer & gt; & Lt; Operators & gt; & Lt; Add name = "LessHttpHandler" type = "dotless.Core.LessCssHttpHandler, dotless.Core" preCondition = "integrated mode" path = "*. Short" verb = "*" /> & Lt; / Operators & gt; & Lt; /system.webServer> & Lt; / Configuration & gt;   

I've added files without my files in my content folder (I am using ASP.NET MVC - Razor Viewing)

For me in my layout Include a link to a lesser file:

  & lt; Link rel = "stylesheet / css" type = "text / css" href = "@ Url.Content (" ~ / content / site. Als ")" />   

I have also added context to my web application without any reference. Core Dll

However, when I do a simple style of the body of the page

Am I missing something here?

Do you set httphandler to run on request? Add it: & lt; Configuration & gt; & Lt; System.webServer & gt; & Lt; For all modules to run the module, FOR ALLRequests = "true" & gt; & Lt; / Modules & gt; & Lt; /system.webServer> & Lt; / Configuration & gt;

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -