阅读背景:

对于在调试中返回404的JavaScript文件,“添加为链接”

来源:互联网 

Using a Visual Studio 2010 ASP.net web application, I have several projects that share some JavaScript/css files. The most logical way for them to share these files is to place the files in a single folder and each project has them included with the "Add as Link" option. However, if I add the files this way when I'm debugging using either the Visual Studio Development server or debugging using a local IIS web server all requests for these files return 404 Not Found errors. If I publish the site then the files are copied but that obviously doesn't help with debugging. Using a Visual Studio 2010 ASP.net web applicat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: