NewProjectFileOptions Enum

Definition

Flags to control options when creating a new, in memory, project.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum NewProjectFileOptions
Inheritance
NewProjectFileOptions
Attributes

Fields

Name Value Description
IncludeAllOptions -1

Include all file options.

None 0

Do not include any options.

IncludeXmlDeclaration 1

Include the XML declaration element.

IncludeToolsVersion 2

Include the ToolsVersion attribute on the Project element.

IncludeXmlNamespace 4

Include the default MSBuild namespace on the Project element.

Applies to

Prodotto Versioni
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17