Make sure you get the latest Microsoft Asp.Net Web Optimization Framework through NuGet.
Make sure that you have BundleConfig.cs located in the App_Start folder, and also make sure that the namespace for the root application namespace MeApp in the BundleConfig.cs folder, for example: namespace MeApp
In the Global.asax application BundleConfig.RegisterBundles(BundleTable.Bundles);
protected void Application_Start() { ... BundleConfig.RegisterBundles(BundleTable.Bundles); ... }
user2312219
source share