dotless
I'm using dotless in an application that works fine locally, but doesn't work on appharbor.
I already declared the MIME type in the app.config, and included the less files as content. Why I point the browser directly at the file, IIS throws this error:
An error occurred creating the configuration section handler for dotless: Could not load type 'dotless.Core.configuration.DotlessConfigurationSectionfHandler' from assembly 'dotless.Core'
<configSections>
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionfHandler, dotless.Core" />
</configSections>
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
Support Staff 1 Posted by friism on Aug 15, 2011 @ 08:14 PM
You need to ensure that the dotless.Core is deployed to the output bin folder. Is the dll referenced from you project, and is configured to "Copy local"?
2 Posted by Jack on Aug 15, 2011 @ 08:19 PM
Indeed it is. It is referenced in my packages folder, and I confirmed that it is in the git commit.
Support Staff 3 Posted by friism on Aug 15, 2011 @ 08:39 PM
Hm, interesting. Could I get you to try and deploy the site to a full IIS (i.e. non-Casini) running on your local machine, to see whether that works. If it runs on your local machine, but still fails on AppHarbor, invite [email blocked] as a collaborator, and we'll take a look.
Michael
4 Posted by duncans on Aug 17, 2011 @ 01:32 PM
Typo?
DotlessConfigurationSection*f*Handler
Support Staff 5 Posted by friism on Aug 17, 2011 @ 04:08 PM
Well spotted, Duncan! Jack, please let us know if you got dotless to work, and whether I can close the issue.
Michael
6 Posted by Jack on Aug 17, 2011 @ 04:26 PM
Duncan,
You can be my coding pair any time! That was it.
As an aside, I tried deploying it locally and IIS wouldn't give my app the time of day.
Thanks for all your help.
Jack
friism closed this discussion on Aug 17, 2011 @ 04:33 PM.