If you look at the Global.asax
project file, you should find something like this there:
protected void Application_Start() { ... BundleTable.Bundles.RegisterTemplateBundles(); }
RegisterTemplateBundles
now only registers a predefined subset of scripts:
- JQuery - *
- jquery.mobile *
- Jquery-uh *
- jquery.unobtrusive *
- jquery.validate *
- MicrosoftAjax.js
- MicrosoftMvc.js
- Modernizr *
- AjaxLogin.js
If you need additional files, you can either change RegisterTemplateBundles
to EnableDefaultBundles
:
protected void Application_Start() { ... BundleTable.Bundles.EnableDefaultBundles(); }
Or create your own package (you can learn more about the bundle and mini-configuration here ). You should also be aware that EnableDefaultBundles
affects performance.
The _references.js
file _references.js
used by Visual Studio for intellisense JavaScript. You can learn more from the following article:
source share