120 references to Project
Microsoft.Build (1)
Definition\Project.cs (1)
134: this(ProjectRootElement.Create(ProjectCollection.GlobalProjectCollection, newProjectFileOptions))
Microsoft.Build.Engine.OM.UnitTests (76)
Construction\ProjectFormatting_Tests.cs (13)
117Project project = new Project(xml); 153Project project = new Project(xml); 188Project project = new Project(xml); 220Project project = new Project(xml); 249Project project = new Project(xml); 284Project project = new Project(xml); 323Project project = new Project(xml); 366Project project = new Project(xml); 393Project project = new Project(xml); 418Project project = new Project(xml); 448Project project = new Project(xml); 473Project project = new Project(xml); 694var project = new Project(ProjectRootElement.Open(file, ProjectCollection.GlobalProjectCollection));
Construction\ProjectMetadataElement_Tests.cs (12)
565var project = new Project(projectElement); 608var project = new Project(projectElement); 682var project = new Project(projectElement); 725var project = new Project(projectElement); 811var project = new Project(projectElement); 874var project = new Project(projectElement); 943var project = new Project(projectElement); 986var project = new Project(projectElement); 1058var project = new Project(projectElement); 1098var project = new Project(projectElement); 1169var project = new Project(projectElement); 1216var project = new Project(projectElement);
Construction\WhiteSpacePreservation_Tests.cs (1)
473var project = new Project(projectElement);
Definition\DefinitionEditing_Tests.cs (2)
1527Project project = new Project(xml); 2047Project project = new Project(xml);
Definition\Project_Tests.cs (21)
110Project project = new Project(xml); 327Project project = new Project(xml); 341Project project = new Project(xml); 546Project project = new Project(xml); 599Project project = new Project(xml); 645Project project = new Project(xml); 680Project project = new Project(xml); 718Project project = new Project(xml); 754Project project = new Project(xml); 792Project project = new Project(xml); 846Project project = new Project(xml); 1088Project project = new Project(xml); 1747Project project = new Project(projectConstruction); 2143Project project = new Project(xml); 2157Project project = new Project(xml); 2171Project project = new Project(xml); 2382Project project1 = new Project(root1); 2383Project project2 = new Project(root2); 2571Project project = new Project(zero); 2617Project project = new Project(zero); 4242Project project = new Project(projectXml);
Definition\ProjectCollection_Tests.cs (1)
1375var project = new Project(pre);
Definition\ProjectItem_Tests.cs (6)
1894Project project = new Project(xml); 1918Project project = new Project(xml); 1950Project project = new Project(xml); 2065Project project = new Project(xml); 2096Project project = new Project(xml); 2128Project project = new Project(xml);
Definition\ProjectItemDefinition_Tests.cs (6)
35Project project = new Project(xml); 64Project project = new Project(xml); 81Project project = new Project(xml); 102Project project = new Project(xml); 131Project project = new Project(main); 161Project project = new Project(main);
Definition\ProjectMetadata_Tests.cs (2)
56Project project = new Project(projectXml); 467Project project = new Project(xml);
Definition\ProjectProperty_Tests.cs (2)
272Project project = new Project(xml); 291Project project = new Project(projectXml);
Instance\ProjectInstance_Tests.cs (1)
1043Project project = new Project(xml);
Instance\ProjectOnErrorInstance_Tests.cs (1)
47Project project = new Project(xml);
Instance\ProjectTargetInstance_Tests.cs (5)
56Project project = new Project(projectXml); 76Project project = new Project(projectXml); 96Project project = new Project(projectXml); 121Project project = new Project(projectXml); 147Project project = new Project(xml);
Instance\ProjectTaskInstance_Tests.cs (1)
77Project project = new Project(xml);
Instance\ProjectTaskOutputItemInstance_Tests.cs (1)
50Project project = new Project(xml);
Instance\ProjectTaskOutputPropertyInstance_Tests.cs (1)
50Project project = new Project(xml);
Microsoft.Build.Engine.UnitTests (42)
Construction\SolutionProjectGenerator_Tests.cs (5)
311Project project = new Project(projectXml); 852Project msbuildProject = new Project(projectXml); 1105Project msbuildProject = new Project(projectXml); 1175Project msbuildProject = new Project(projectXml); 1220Project msbuildProject = new Project(projectXml);
Definition\ProjectItem_Tests.cs (1)
83Project project = new Project(projectXml);
Evaluation\Evaluator_Tests.cs (8)
1358Project project = new Project(main); 2715Project project = new Project(xml); 2732Project project = new Project(xml); 2767Project project = new Project(xml); 2786Project project = new Project(xml); 2804Project project = new Project(xml); 2822Project project = new Project(xml); 5216Project project = new Project(projectXml);
Evaluation\Preprocessor_Tests.cs (14)
84Project project = new Project(xml1); 128Project project = new Project(xml1); 172Project project = new Project(xml1); 216Project project = new Project(xml1); 264Project project = new Project(xml1); 298Project project = new Project(xml1); 419Project project = new Project(xml1); 477Project project = new Project(xml1); 550Project project = new Project(xml1); 611Project project = new Project(xml1); 671Project project = new Project(xml1); 725Project project = new Project(xml0); 826Project project = new Project(xml); 1238Project project = new Project(xml1);
Evaluation\ProjectSdkImplicitImport_Tests.cs (9)
112var project = new Project(projectRootElement); 135var project = new Project(projectRootElement); 202Project project = new Project(projectRootElement); 305Project project = new Project(ProjectRootElement.Create(XmlReader.Create(new StringReader(content)))); 329() => new Project(ProjectRootElement.Create(XmlReader.Create(new StringReader(content))))); 334var project = new Project(projectRootElementFromString.Project); 396Assert.Throws<InvalidProjectFileException>(() => new Project( 421Project project = new Project(ProjectRootElement.Create(XmlReader.Create(new StringReader(content)))); 445var project = new Project(projectRootElement);
Instance\ProjectInstance_Internal_Tests.cs (2)
71ProjectInstance project = new Project(projectRootElementFromString.Project).CreateProjectInstance(); 119ProjectInstance project = new Project(projectRootElementFromString.Project).CreateProjectInstance();
Instance\TaskItem_Tests.cs (3)
280Project project = new Project(xml); 334Project project = new Project(xml); 369Project project = new Project(xml);
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1103Project project = new Project(projectXml);