共用方式為


Project.SkipEvaluation Property

Gets or sets a flag the determines whether ReevaluateIfNecessary is temporarily disabled. This is useful when the host expects to make a number of reads and writes to the project, and wants to temporarily sacrifice correctness for performance.

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

Syntax

'Declaration
Public Property SkipEvaluation As Boolean
public bool SkipEvaluation { get; set; }
public:
property bool SkipEvaluation {
    bool get ();
    void set (bool value);
}
member SkipEvaluation : bool with get, set
function get SkipEvaluation () : boolean 
function set SkipEvaluation (value : boolean)

Property Value

Type: System.Boolean
Returns a flag the determines whether ReevaluateIfNecessary is temporarily disabled.

.NET Framework Security

See Also

Reference

Project Class

Microsoft.Build.Evaluation Namespace