System.Web.WebPages.Deployment A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to Value cannot be null or an empty string.. Looks up a localized string similar to Value must be between {0} and {1}.. Looks up a localized string similar to Value must be a value from the "{0}" enumeration.. Looks up a localized string similar to Value must be greater than {0}.. Looks up a localized string similar to Value must be greater than or equal to {0}.. Looks up a localized string similar to Value must be less than {0}.. Looks up a localized string similar to Value must be less than or equal to {0}.. Looks up a localized string similar to Value cannot be an empty string. It must either be null or a non-empty string.. Returns the version of a System.Web.WebPages.Deployment.dll if it is present in the bin and matches the name and public key token of the current assembly. Version from bin if present, null otherwise. Reads a special cached file from %WindDir%\Microsoft.NET\Framework\vx.x\ASP.NET Temporary Files\<x>\<y>\UserCache that is available across AppDomain recycles. Creates or opens a special cached file that is created under %WindDir%\Microsoft.NET\Framework\vx.x\ASP.NET Temporary Files\<x>\<y>\UserCache that is available across AppDomain recycles. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The "InstallPath" name was not found in the Web Pages registry key "{0}".. Looks up a localized string similar to Could not determine which version of ASP.NET Web Pages to use. In order to use this site, specify a version in the site’s web.config file. For more information, see the following article on the Microsoft support site: http://go.microsoft.com/fwlink/?LinkId=254126. Looks up a localized string similar to The Web Pages registry key "{0}" does not exist.. Looks up a localized string similar to Changes were detected in the Web Pages runtime version that require your application to be recompiled. Refresh your browser window to continue.. Looks up a localized string similar to Conflicting versions of ASP.NET Web Pages detected: specified version is "{0}", but the version in bin is "{1}". To continue, remove files from the application's bin directory or remove the version specification in web.config.. Looks up a localized string similar to Specified Web Pages version "{0}" could not be found. Update your web.config to specify a different version. Current version: "{1}".. File name for a temporary file that we drop in bin to force recompilation. Physical or virtual path to a directory where we need to determine the version of WebPages to be used. In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an ancestor directory would not be considered. If we are unable to determine a version, we would assume that this is a v1 app. This is meant to test an obsolete method. Don't use this! Determines if Asp.Net Web Pages is enabled. Web Pages is enabled if there's a webPages:Enabled key in AppSettings is set to "true" or if there's a cshtml file in the current path and the key is not present. The path at which to determine if web pages is enabled. In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an ancestor directory would not be considered. In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an ancestor directory would not be considered. Returns the value for webPages:Enabled AppSetting value in web.config. Returns the version of WebPages to be used for a specified path. This method would always returns a value regardless of web pages is explicitly disabled (via config) or implicitly disabled (by virtue of not having a cshtml file) at the specified path. Gets full path to a folder that contains ASP.NET WebPages assemblies for a given version. Used by WebMatrix and Visual Studio so they know what to copy to an app's Bin folder or deploy to a hoster. HttpRuntime.BinDirectory is unavailable in design time and throws if we try to access it. To workaround this, if we aren't hosted, we will assume that the path that was passed to us is the application root. Reads a previously persisted version number from build manager's cached directory. Null if a previous version number does not exist or is not a valid version number, read version number otherwise. Persists the version number in a file under the build manager's cached directory. Forces recompilation of the application by dropping a file under bin. File system instance used to write a file to bin directory. Path to bin directory of the application Name of the the temporary file used by BuildManager.CreateCachedFile / BuildManager.ReadCachedFile where we cache WebPages's version number. Key used to indicate to tooling that the compile exception we throw to refresh the app domain originated from us so that they can deal with it correctly. WebPages stores the version to be compiled against in AppSettings as >add key="webpages:version" value="1.0" /<. Changing values AppSettings does not cause recompilation therefore we could run into a state where we have files compiled against v1 but the application is currently v2.