PropertyPosition Enumeration

Specifies constants that define the location in the project to insert a property.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

public enum PropertyPosition

Member nameDescription
UseExistingOrCreateAfterLastImportReplace the existing Property element if it exists. Otherwise, create the Property after the last Import element in the project.
UseExistingOrCreateAfterLastPropertyGroupReplace the existing Property element if it exists. Otherwise, if possible, create a new Property element as a child of an existing compatible PropertyGroup element. If necessary, create a new compatible PropertyGroup element immediately following the last PropertyGroup in the project.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft