Partilhar via


NewProjectFileOptions Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class NewProjectFileOptions
[System.Flags]
public enum NewProjectFileOptions
[<System.Flags>]
type NewProjectFileOptions = 
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