我已在~/Assets/scripts
创建了一个新的脚本文件夹,但我不想保留传统文件夹~/Scripts
。
它适用于我手动包含的捆绑包,因为我明确定义了我的新文件夹的路径,但我不断收到一些错误,因为有一些嵌入式引用(对于AJAX脚本)仍然在查看~/Scripts
。我只是想找到一种方法来全局定义我的新脚本路径以避免这种问题。
错误是:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:56906/Scripts/WebForms/MsAjax/MicrosoftAjax.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:56906/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js
有没有办法做到这一点?
提前致谢。