1 write to _solutionFile
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
181
_solutionFile
= solution;
40 references to _solutionFile
Microsoft.Build (40)
Construction\Solution\SolutionProjectGenerator.cs (40)
695
if (!
_solutionFile
.UseNewParser)
699
_solutionFile
.Version >= SolutionFile.slnFileMinVersion,
701
new BuildEventFileInfo(
_solutionFile
.FullPath),
723
if (
_solutionFile
.ContainsWebDeploymentProjects)
737
var projectsInOrder = new List<ProjectInSolution>(
_solutionFile
.ProjectsInOrder.Count);
738
foreach (ProjectInSolution project in
_solutionFile
.ProjectsInOrder)
796
if (!WouldProjectBuild(
_solutionFile
, selectedSolutionConfiguration, project, projectConfiguration))
863
traversalProject.FullPath =
_solutionFile
.FullPath + ".metaproj";
876
foreach (SolutionConfigurationInSolution solutionConfiguration in
_solutionFile
.SolutionConfigurations)
951
string escapedSolutionFile = EscapingUtilities.Escape(Path.GetFileName(
_solutionFile
.FullPath));
952
string escapedSolutionDirectory = EscapingUtilities.Escape(
_solutionFile
.SolutionFileDirectory);
993
string metaprojectPath =
_solutionFile
.FullPath + ".metaproj.tmp";
1003
_solutionFile
.VisualStudioVersion,
1154
if (!
_solutionFile
.ProjectsByGuid.TryGetValue(dependencyProjectGuid, out ProjectInSolution dependencyProject))
1164
if (WouldProjectBuild(
_solutionFile
, _selectedSolutionConfiguration, dependencyProject, projectConfiguration))
1228
new BuildEventFileInfo(
_solutionFile
.FullPath),
1286
baseName = Path.Combine(
_solutionFile
.SolutionFileDirectory, MakeIntoSafeItemName(project.GetUniqueProjectName()));
1310
if (!
_solutionFile
.ProjectsByGuid.TryGetValue(dependencyProjectGuid, out ProjectInSolution dependencyProject))
1322
WouldProjectBuild(
_solutionFile
, _selectedSolutionConfiguration, dependencyProject, dependencyProjectConfiguration))
1856
foreach (SolutionConfigurationInSolution solutionConfiguration in
_solutionFile
.SolutionConfigurations)
1928
foreach (SolutionConfigurationInSolution solutionConfiguration in
_solutionFile
.SolutionConfigurations)
2114
return PredictActiveSolutionConfigurationName(
_solutionFile
, _globalProperties);
2129
foreach (ProjectInSolution project in
_solutionFile
.ProjectsInOrder)
2203
if (
_solutionFile
.ProjectsByGuid.ContainsKey(dependencyGuid))
2212
new BuildEventFileInfo(
_solutionFile
.FullPath),
2229
configurationDefaultingPropertyGroup.AddProperty("Configuration", EscapingUtilities.Escape(
_solutionFile
.GetDefaultConfigurationName()));
2235
platformDefaultingPropertyGroup.AddProperty("Platform", EscapingUtilities.Escape(
_solutionFile
.GetDefaultPlatformName()));
2243
AddPropertyGroupForSolutionConfiguration(traversalProject,
_solutionFile
, solutionConfiguration);
2274
string directoryName =
_solutionFile
.SolutionFileDirectory;
2281
globalProperties.AddProperty("SolutionExt", EscapingUtilities.Escape(Path.GetExtension(
_solutionFile
.FullPath)));
2282
globalProperties.AddProperty("SolutionFileName", EscapingUtilities.Escape(Path.GetFileName(
_solutionFile
.FullPath)));
2283
globalProperties.AddProperty("SolutionName", EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(
_solutionFile
.FullPath)));
2285
globalProperties.AddProperty(SolutionPathPropertyName, EscapingUtilities.Escape(Path.Combine(
_solutionFile
.SolutionFileDirectory, Path.GetFileName(
_solutionFile
.FullPath))));
2312
if (
_solutionFile
.ContainsWebProjects)
2315
foreach (SolutionConfigurationInSolution solutionConfiguration in
_solutionFile
.SolutionConfigurations)
2324
if ((!solutionHasReleaseConfiguration) && (
_solutionFile
.SolutionConfigurations.Count > 0))
2326
_solutionFile
.AddSolutionConfiguration("Release",
_solutionFile
.GetDefaultPlatformName());
2349
if (
_solutionFile
.SolutionConfigurations.Count > 0)