Jul 5, 2012 at 5:23 PM
Edited Jul 5, 2012 at 5:24 PM
This from my research into the issue as someone that recently updated to WebMatrix 2 RC and found code breaking
Changes for the RC Version (June 2012)
The functionality for bundling and minification has been removed from the core ASP.NET Web Pages 2 assemblies. As a consequence, the Assets helper listed later in this document is not available. Instead, you must install the ASP.NET Optimization NuGet package.
For more information, see Bundling and Minifying Assets in an ASP.NET Web Pages (Razor) Site.
Changes for the Beta Version (February 2012)
The Scripts helper for assets (resource) management has been replaced with the Assets helper, which has slightly different methods, such as the following:
For Scripts.Add , use Assets.AddScript
For Scripts.GetScriptTags, use Assets.GetScripts
This is a breaking change; the Scripts class is not available in the Beta release. The code examples in this document that use asset management have been updated with this change.
Note The RC release of ASP.NET Web Pages 2 does not support bundling and minification because the package that contains the required elements is not yet available in Microsoft WebMatrix. We apologize for this inconvenience. The package is expected to be
available in the final release of ASP.NET Web Pages 2 and WebMatrix 2.