Reputation: 884
While in debug mode bundling is not working, unlike release mode.
Error:
"Failed to load resource: the server responded with a status of 500 (Internal Server Error)"
ideas?
Code in RegisterBundles:
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
Upvotes: 0
Views: 1551
Reputation: 131
Add this in your Bundle.Config file..
BundleTable.EnableOptimizations = false;
Upvotes: 1