我正在使用NuGet包Backload(在MVC5项目中)。 一切都在本地IIS中正常工作(Visual Studio 2015)。 但在生产服务器中我有错误:
/loading.gif Failed to load resource: the server responded with a status of 404 (Not Found)
我在Chrome DevTools中观看了Resurces标签以及我看到的内容:
生产:
http://xxxxx.xx/backload/blueimp/bootstrap/img/loading.gif
本地:
http://localhost:2643/Backload/Client/blueimp/fileupload/img/loading.gif
我找到一个文件( jquery.fileupload-ui.css ),其中包含:
background: url("../img/loading.gif")
是的,我可以覆盖样式,但是哪些方法不正确?
更新 在设置
之后<compilation targetFramework="4.5.2" debug="true" />
一切正常,没有错误404
为什么它无法在发布时起作用?
缩小?