Share via


AspNetCompiler.VirtualPath Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the virtual path of the application to be compiled.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property VirtualPath As String
public string VirtualPath { get; set; }
public:
property String^ VirtualPath {
    String^ get ();
    void set (String^ value);
}
member VirtualPath : string with get, set
function get VirtualPath () : String 
function set VirtualPath (value : String)

Property Value

Type: System.String
The virtual path of the application to be compiled.

Remarks

If PhysicalPath specified, the physical path is used to locate the application. Otherwise, the IIS metabase is used, and the application is assumed to be in the default site.

.NET Framework Security

See Also

Reference

AspNetCompiler Class

Microsoft.Build.Tasks Namespace