1 write to _projectCollection
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
85
_projectCollection
= new ProjectCollection(globalProperties: null, _parameters.Loggers, ToolsetDefinitionLocations.Default);
35 references to _projectCollection
Microsoft.Build.Engine.UnitTests (35)
BackEnd\BuildManager_Tests.cs (35)
99
_projectCollection
.Dispose();
442
Project project = CreateProject(CleanupFileContents(contents), MSBuildDefaultToolsVersion,
_projectCollection
, false);
444
var data = new BuildRequestData(project.CreateProjectInstance(), Array.Empty<string>(),
_projectCollection
.HostServices);
493
_projectCollection
, false);
506
_projectCollection
.HostServices, BuildRequestDataFlags.ProvideSubsetOfStateAfterBuild, null,
650
var project = CreateProject(contents, null,
_projectCollection
, false);
703
var project = CreateProject(contents, null,
_projectCollection
, false);
773
var project = CreateProject(contents, null,
_projectCollection
, false);
833
var project = CreateProject(contents, null,
_projectCollection
, false);
931
var project = CreateProject(contents, null,
_projectCollection
, false);
1152
var project = CreateProject(contents, null,
_projectCollection
, false);
1775
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
1806
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
1841
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
1898
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
1926
Project project =
_projectCollection
.LoadProject(data.ProjectFullPath);
1952
Project project =
_projectCollection
.LoadProject(data.ProjectFullPath);
1984
Project project =
_projectCollection
.LoadProject(data.ProjectFullPath);
2035
ProjectInstance projectInstance = CreateProjectInstance(contents1, null,
_projectCollection
, false);
2049
_parameters.ProjectRootElementCache =
_projectCollection
.ProjectRootElementCache;
2062
ProjectInstance projectInstance2 = CreateProjectInstance(contents1, null,
_projectCollection
, false);
2197
var data = new BuildRequestData(fileName,
_projectCollection
.GlobalProperties, MSBuildDefaultToolsVersion, Array.Empty<string>(), null);
3408
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
3438
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
3469
Project project = CreateProject(contents, MSBuildDefaultToolsVersion,
_projectCollection
, true);
3565
=> new BuildRequestData(CreateProjectInstance(projectContents, toolsVersion,
_projectCollection
, true), targets,
_projectCollection
.HostServices);
3571
=> new GraphBuildRequestData(CreateProjectGraph(projectContents,
_projectCollection
), targets,
_projectCollection
.HostServices);
3779
var buildParameters = new BuildParameters(
_projectCollection
)
3850
using ProjectRootElementFromString projectRootElementFromString = new(string.Format(mainProject, importPath),
_projectCollection
);
3858
_projectCollection
);
3865
var parameters = new BuildParameters(
_projectCollection
)
3934
var buildParameters = new BuildParameters(
_projectCollection
)
4411
Project project = CreateProject(projectContents, MSBuildDefaultToolsVersion,
_projectCollection
, true);