ProjectCollection.DisableMarkDirty Property

Definition

Whether MarkDirty() is temporarily disabled on projects in this collection. This allows, for example, global properties to be set without projects getting marked dirty for reevaluation as a consequence.

C#
public bool DisableMarkDirty { get; set; }
C#
public bool DisableMarkDirty { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

Returns a flag that determines whether MarkDirty is temporarily disabled.

Attributes

Applies to

Produit Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17