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