Resets the Web Project Cache Directory to the default
Namespace: VSLangProj
Assembly: VSLangProj (in VSLangProj.dll)
Syntax
'Declaration
Sub SetDefaultWebProjectCacheDirectory
void SetDefaultWebProjectCacheDirectory()
void SetDefaultWebProjectCacheDirectory()
abstract SetDefaultWebProjectCacheDirectory : unit -> unit
function SetDefaultWebProjectCacheDirectory()
Remarks
The SetDefaultWebProjectCacheDirectory property defines the directory for the offline cache. The offline cache is the ___location where files are stored when working with Web projects offline. When a project is taken offline, a subdirectory is created in the offline cache, according to a naming system described below.
Files from Web projects authored using file-share access are compiled and edited directly in the shared ___location. In contrast, files from Web projects authored using FrontPage access have http: file paths, so it is not possible to compile and edit them on the server ___location. For this reason, the files in such projects are compiled and edited in the offline ___location. Therefore, FrontPage-authored projects access the offline ___location during the authoring process, even when the project is online.
The project system creates the following directory structure:
\WebProjectCacheDirectory
\ServerName1
\ProjectName1
\ProjectName2
\ServerName2
\ProjectName3
As an example, suppose you create the following four Web projects:
http://ServerName1/WebProject1
http://ServerName1/WebProject1/SubProject1
http://ServerName1/WebProject2
The directory structure created will be as follows:
\WebProjectCacheDirectory
\ServerName1
\WebProject1
\SubProject1
\WebProject2
\www.microsoft.com
\WebProject3
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.