24 references to NewProjectFileOptions
Microsoft.Build (18)
Construction\ProjectRootElement.cs (12)
183
private ProjectRootElement(ProjectRootElementCacheBase projectRootElementCache,
NewProjectFileOptions
projectFileOptions)
195
(projectFileOptions &
NewProjectFileOptions
.IncludeXmlDeclaration) != 0 ? EmptyProjectFileXmlDeclaration : string.Empty,
196
(projectFileOptions &
NewProjectFileOptions
.IncludeToolsVersion) != 0 ? EmptyProjectFileToolsVersion : string.Empty,
197
(projectFileOptions &
NewProjectFileOptions
.IncludeXmlNamespace) != 0 ? EmptyProjectFileXmlNamespace : string.Empty);
725
/// Initialize an in-memory, empty ProjectRootElement instance that can be saved later using the specified <see cref="
NewProjectFileOptions
"/>.
728
public static ProjectRootElement Create(
NewProjectFileOptions
projectFileOptions)
743
/// Initialize an in-memory, empty ProjectRootElement instance that can be saved later using the specified <see cref="ProjectCollection"/> and <see cref="
NewProjectFileOptions
"/>.
745
public static ProjectRootElement Create(ProjectCollection projectCollection,
NewProjectFileOptions
projectFileOptions)
762
/// Initialize an in-memory, empty ProjectRootElement instance that can be saved later using the specified path and <see cref="
NewProjectFileOptions
"/>.
765
public static ProjectRootElement Create(string path,
NewProjectFileOptions
newProjectFileOptions)
783
public static ProjectRootElement Create(string path, ProjectCollection projectCollection,
NewProjectFileOptions
newProjectFileOptions)
1721
internal static ProjectRootElement Create(ProjectRootElementCacheBase projectRootElementCache,
NewProjectFileOptions
projectFileOptions)
Definition\Project.cs (6)
81
internal const
NewProjectFileOptions
DefaultNewProjectTemplateOptions =
NewProjectFileOptions
.IncludeAllOptions;
133
public Project(
NewProjectFileOptions
newProjectFileOptions)
153
public Project(ProjectCollection projectCollection,
NewProjectFileOptions
newProjectFileOptions)
179
/// <param name="newProjectFileOptions">The <see cref="
NewProjectFileOptions
"/> to use for the new project.</param>
180
public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection,
NewProjectFileOptions
newProjectFileOptions)
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\ProjectFormatting_Tests.cs (5)
560
Project project = new Project(
NewProjectFileOptions
.None);
581
Project project = new Project(
NewProjectFileOptions
.None);
603
Project project = new Project(
NewProjectFileOptions
.IncludeXmlNamespace);
626
Project project = new Project(
NewProjectFileOptions
.IncludeXmlDeclaration);
646
Project project = new Project(
NewProjectFileOptions
.None);
Microsoft.Build.Engine.UnitTests (1)
Construction\ProjectImportElement_Tests.cs (1)
99
ProjectRootElement rootElement = ProjectRootElement.Create(
NewProjectFileOptions
.None);