6 instantiations of ProjectConfigurationInSolution
Microsoft.Build (2)
Construction\Solution\SolutionFile.cs (2)
461var projectConfiguration = new ProjectConfigurationInSolution( 1784var projectConfiguration = new ProjectConfigurationInSolution(
Microsoft.Build.Engine.UnitTests (4)
Graph\GraphLoadedFromSolution_tests.cs (3)
216sc => new ProjectConfigurationInSolution( 241new ProjectConfigurationInSolution("1a", "1b", true) 245new ProjectConfigurationInSolution("1c", "1d", true)
SolutionFileBuilder.cs (1)
138sc => new ProjectConfigurationInSolution(
35 references to ProjectConfigurationInSolution
Microsoft.Build (28)
Construction\Solution\ProjectInSolution.cs (6)
112private readonly Dictionary<string, ProjectConfigurationInSolution> _projectConfigurations; 113private IReadOnlyDictionary<string, ProjectConfigurationInSolution> _projectConfigurationsReadOnly; 136_projectConfigurations = new Dictionary<string, ProjectConfigurationInSolution>(StringComparer.OrdinalIgnoreCase); 226public IReadOnlyDictionary<string, ProjectConfigurationInSolution> ProjectConfigurations 229?? (_projectConfigurationsReadOnly = new ReadOnlyDictionary<string, ProjectConfigurationInSolution>(_projectConfigurations)); 275internal void SetProjectConfiguration(string configurationName, ProjectConfigurationInSolution configuration)
Construction\Solution\SolutionFile.cs (2)
461var projectConfiguration = new ProjectConfigurationInSolution( 1784var projectConfiguration = new ProjectConfigurationInSolution(
Construction\Solution\SolutionProjectGenerator.cs (15)
273if (project.ProjectConfigurations.TryGetValue(solutionConfiguration.FullName, out ProjectConfigurationInSolution projectConfiguration)) 295if (dependencyProject.ProjectConfigurations.TryGetValue(solutionConfiguration.FullName, out ProjectConfigurationInSolution dependencyProjectConfiguration) && 651internal static bool WouldProjectBuild(SolutionFile solutionFile, string selectedSolutionConfiguration, ProjectInSolution project, ProjectConfigurationInSolution projectConfiguration) 795project.ProjectConfigurations.TryGetValue(selectedSolutionConfiguration, out ProjectConfigurationInSolution projectConfiguration); 1055private void AddProjectReference(ProjectInstance traversalProject, ProjectInstance projectInstance, ProjectInSolution projectToAdd, ProjectConfigurationInSolution projectConfiguration, bool direct) 1125private static string GetConfigurationAndPlatformPropertiesString(ProjectConfigurationInSolution projectConfiguration) 1135private static string GetPropertiesAttributeForDirectMSBuildTask(ProjectConfigurationInSolution projectConfiguration) 1144private bool CanBuildDirectly(ProjectInstance traversalProject, ProjectInSolution projectToAdd, ProjectConfigurationInSolution projectConfiguration) 1211private ProjectInstance CreateMetaproject(ProjectInstance traversalProject, ProjectInSolution project, ProjectConfigurationInSolution projectConfiguration) 1321if (dependencyProject.ProjectConfigurations.TryGetValue(_selectedSolutionConfiguration, out ProjectConfigurationInSolution dependencyProjectConfiguration) && 1334private static void AddMetaprojectTargetForManagedProject(ProjectInstance traversalProject, ProjectInstance metaprojectInstance, ProjectInSolution project, ProjectConfigurationInSolution projectConfiguration, string targetName, string outputItem) 1353private static void AddProjectBuildTask(ProjectInstance traversalProject, ProjectConfigurationInSolution projectConfiguration, ProjectTargetInstance target, string targetToBuild, string sourceItems, string condition, string outputItem) 1858if (project.ProjectConfigurations.TryGetValue(solutionConfiguration.FullName, out ProjectConfigurationInSolution projectConfiguration)) 1932if (project.ProjectConfigurations.TryGetValue(solutionConfiguration.FullName, out ProjectConfigurationInSolution projectConfiguration)) 2016private void AddTraversalTargetForProject(ProjectInstance traversalProject, ProjectInSolution project, ProjectConfigurationInSolution projectConfiguration, string targetToBuild, string outputItem, bool canBuildDirectly)
Graph\GraphBuilder.cs (5)
321ProjectConfigurationInSolution projectConfiguration = SelectProjectConfiguration(currentSolutionConfiguration, project.ProjectConfigurations); 389ProjectConfigurationInSolution SelectProjectConfiguration( 391IReadOnlyDictionary<string, ProjectConfigurationInSolution> projectConfigs) 397if (projectConfigs.TryGetValue(solutionConfigFullName, out ProjectConfigurationInSolution projectConfiguration)) 402var partiallyMarchedConfig = projectConfigs.FirstOrDefault(pc => pc.Value.ConfigurationName.Equals(solutionConfig.ConfigurationName, StringComparison.OrdinalIgnoreCase)).Value;
Microsoft.Build.Engine.UnitTests (7)
Graph\GraphLoadedFromSolution_tests.cs (4)
234ProjectConfigurations = new Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> 237"1", new Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution> 664Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> projectConfigurations = null) 710var expectedProjectConfiguration = actualProjectConfigurations[GetProjectNumber(node).ToString()][expectedCurrentConfiguration];
SolutionFileBuilder.cs (3)
39public Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> ProjectConfigurations { get; set; } 88Dictionary<string, Dictionary<SolutionConfigurationInSolution, ProjectConfigurationInSolution>> projectConfigurations = null, 195var projectConfiguration = configurationMapping.Value;