24 references to NewProjectFileOptions
Microsoft.Build (18)
Construction\ProjectRootElement.cs (12)
183private 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"/>. 728public 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"/>. 745public 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"/>. 765public static ProjectRootElement Create(string path, NewProjectFileOptions newProjectFileOptions) 783public static ProjectRootElement Create(string path, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) 1721internal static ProjectRootElement Create(ProjectRootElementCacheBase projectRootElementCache, NewProjectFileOptions projectFileOptions)
Definition\Project.cs (6)
81internal const NewProjectFileOptions DefaultNewProjectTemplateOptions = NewProjectFileOptions.IncludeAllOptions; 133public Project(NewProjectFileOptions newProjectFileOptions) 153public Project(ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) 179/// <param name="newProjectFileOptions">The <see cref="NewProjectFileOptions"/> to use for the new project.</param> 180public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions)
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\ProjectFormatting_Tests.cs (5)
560Project project = new Project(NewProjectFileOptions.None); 581Project project = new Project(NewProjectFileOptions.None); 603Project project = new Project(NewProjectFileOptions.IncludeXmlNamespace); 626Project project = new Project(NewProjectFileOptions.IncludeXmlDeclaration); 646Project project = new Project(NewProjectFileOptions.None);
Microsoft.Build.Engine.UnitTests (1)
Construction\ProjectImportElement_Tests.cs (1)
99ProjectRootElement rootElement = ProjectRootElement.Create(NewProjectFileOptions.None);