共用方式為


ProjectCollection.SkipEvaluation Property

Gets or sets a flag the determines whether ReevaluateIfNecessary is temporarily disabled on projects in this collection. This is useful when the host expects to make a number of reads and writes to projects, 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

ProjectCollection Class

Microsoft.Build.Evaluation Namespace