Search code examples
asp.net-mvcc#-4.0system.web.optimization

ASP.Net MVC Bundles - Is "MapPathMethod" a valid property of BundleTable?


I have found numerous references to "BundleTable.MapPathMethod" in the System.Web.Optimization namespace. For instance:

However, I cannot seem to find documentation for "MapPathMethod" anywhere and it does not resolve even though I have the latest version of "Microsoft.ASP.NET Web Optimization Framework" Installed.

Is "MapPathMethod" a valid property of BundleTable?


Solution

  • Its gone as of version 1.1 as the framework now uses VirtualPathProvider to find files instead, which is also how you can unit test bundling instead of using the old MapPathMethod.