我正在使用 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
为什么它不能在发布时工作?
缩小?