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