How to add reference to System.Web.Optimization for MVC-3-converted-to-4 app

UpdateVersion 1.1.x is available, read the release notes: https://www.nuget.org/packages/Microsoft.AspNet.Web.Optimization The Microsoft.Web.Optimization package is now obsolete. With ASP.NET (MVC) 4 and higher you should install the Microsoft ASP.NET Web Optimization Framework: Install the package from nuget:Install-Package Microsoft.AspNet.Web.Optimization Create and configure bundle(s) in App_Start\BundleConfig.cs:public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle(“~/Scripts/jquery”).Include( “~/Scripts/Lib/jquery/jquery-{version}.js”, “~/Scripts/Lib/jquery/jquery.*”, “~/Scripts/Lib/jquery/jquery-ui-{version}.js”) ); … Read more