简体   繁体   English

在Appharbor上无头

[英]Dotless on Appharbor

I am having a huge issues with DotLess on AppHarbor. 我在AppHarbor上遇到了DotLess的巨大问题。 I have setup my web.config correctly according to dotless but my .less files are always giving a 404 error. 我根据无点正确设置了我的web.config但是我的.less文件总是给出404错误。

I have made sure that the files are built as content, that there is a mime-type and that all settings are according to dotless. 我已经确保文件是作为内容构建的,有一个mime类型,并且所有设置都是无点的。 But it is still not working... is anyone else having the same issue? 但它仍然没有工作......是否有其他人有同样的问题? Has anyone else been able to resolve it? 有没有其他人能够解决它?

I had to set the Build Action value to Content and then set the Copy To Output DIrectory value to Copy always . 我必须将Build Action值设置为Content ,然后将Copy To Output DIrectory值设置为Copy always After doing that, it seems to work correctly! 这样做之后,似乎工作正常! WOOHOOOO! WOOHOOOO! This is so exciting. 这太令人兴奋了。 It's been a big issues of the last few days. 这是过去几天的重大问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM