Condividi tramite


Project.SchemaFile Property

Gets or sets the XML schema file to use when validating the project.

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.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

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

Property Value

Type: System.String
The XML schema file to use when validating the project.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.BuildEngine Namespace