8 instantiations of SolutionConfigurationInSolution
Microsoft.Build (3)
Construction\Solution\SolutionFile.cs (1)
674
var solutionConfiguration = new
SolutionConfigurationInSolution
(configurationName, platformName);
Construction\Solution\SolutionProjectGenerator.cs (1)
643
var configurationInSolution = new
SolutionConfigurationInSolution
(activeSolutionConfiguration, activeSolutionPlatform);
Graph\GraphBuilder.cs (1)
386
return new
SolutionConfigurationInSolution
(solutionConfiguration, solutionPlatform);
Microsoft.Build.Engine.UnitTests (5)
Graph\GraphLoadedFromSolution_tests.cs (3)
233
SolutionConfigurationPlatforms = new[] { new
SolutionConfigurationInSolution
("Foo", "Bar") },
240
new
SolutionConfigurationInSolution
("NonMatchingConfiguration", "NonMatchingPlatform"),
244
new
SolutionConfigurationInSolution
("Foo", "NonMatchingPlatform"),
SolutionFileBuilder.cs (2)
28
new
SolutionConfigurationInSolution
("Debug", "AnyCPU"),
29
new
SolutionConfigurationInSolution
("Release", "AnyCPU")
52 references to SolutionConfigurationInSolution
Microsoft.Build (26)
Construction\Solution\ProjectConfigurationInSolution.cs (1)
23
FullName =
SolutionConfigurationInSolution
.ComputeFullName(ConfigurationName, PlatformName);
Construction\Solution\SolutionFile.cs (11)
110
private Dictionary<string,
SolutionConfigurationInSolution
> _solutionConfigurationsByFullName;
265
public IReadOnlyList<
SolutionConfigurationInSolution
> SolutionConfigurations => _solutionConfigurationsByFullName.Values.ToList().AsReadOnly();
345
_solutionConfigurationsByFullName = new Dictionary<string,
SolutionConfigurationInSolution
>();
466
string configurationName =
SolutionConfigurationInSolution
.ComputeFullName(solutionBuildType, solutionPlatform);
674
var
solutionConfiguration = new SolutionConfigurationInSolution(configurationName, platformName);
750
_solutionConfigurationsByFullName = new Dictionary<string,
SolutionConfigurationInSolution
>();
1678
string[] configurationPlatformParts = fullConfigurationName.Split(
SolutionConfigurationInSolution
.ConfigurationPlatformSeparatorArray);
1760
foreach (
SolutionConfigurationInSolution
solutionConfiguration in _solutionConfigurationsByFullName.Values)
1777
string[] configurationPlatformParts = configurationPlatform.Split(
SolutionConfigurationInSolution
.ConfigurationPlatformSeparatorArray);
1811
foreach (
SolutionConfigurationInSolution
solutionConfiguration in SolutionConfigurations)
1844
foreach (
SolutionConfigurationInSolution
solutionConfiguration in SolutionConfigurations)
Construction\Solution\SolutionProjectGenerator.cs (11)
236
internal static void AddPropertyGroupForSolutionConfiguration(ProjectRootElement msbuildProject, SolutionFile solutionFile,
SolutionConfigurationInSolution
solutionConfiguration)
257
internal static string GetSolutionConfiguration(SolutionFile solutionFile,
SolutionConfigurationInSolution
solutionConfiguration)
362
foreach (
SolutionConfigurationInSolution
solutionConfiguration in solutionFile.SolutionConfigurations)
615
private static string GetConditionStringForConfiguration(
SolutionConfigurationInSolution
configuration)
643
var
configurationInSolution = new SolutionConfigurationInSolution(activeSolutionConfiguration, activeSolutionPlatform);
665
foreach (
SolutionConfigurationInSolution
configuration in solutionFile.SolutionConfigurations)
876
foreach (
SolutionConfigurationInSolution
solutionConfiguration in _solutionFile.SolutionConfigurations)
1856
foreach (
SolutionConfigurationInSolution
solutionConfiguration in _solutionFile.SolutionConfigurations)
1928
foreach (
SolutionConfigurationInSolution
solutionConfiguration in _solutionFile.SolutionConfigurations)
2241
private void AddPropertyGroupForSolutionConfiguration(ProjectRootElement traversalProject,
SolutionConfigurationInSolution
solutionConfiguration)
2315
foreach (
SolutionConfigurationInSolution
solutionConfiguration in _solutionFile.SolutionConfigurations)
Graph\GraphBuilder.cs (3)
287
SolutionConfigurationInSolution
currentSolutionConfiguration = SelectSolutionConfiguration(Solution, solutionEntryPoint.GlobalProperties);
376
SolutionConfigurationInSolution
SelectSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties)
390
SolutionConfigurationInSolution
solutionConfig,
Microsoft.Build.Engine.OM.UnitTests (2)
Construction\SolutionFile_Tests.cs (2)
440
foreach (
SolutionConfigurationInSolution
configuration in solution.SolutionConfigurations)
502
foreach (
SolutionConfigurationInSolution
configuration in solution.SolutionConfigurations)
Microsoft.Build.Engine.UnitTests (24)
Construction\SolutionFile_OldParser_Tests.cs (2)
1696
foreach (
SolutionConfigurationInSolution
configuration in solution.SolutionConfigurations)
1756
foreach (
SolutionConfigurationInSolution
configuration in solution.SolutionConfigurations)
Construction\SolutionProjectGenerator_Tests.cs (4)
847
foreach (
SolutionConfigurationInSolution
solutionConfiguration in solution.SolutionConfigurations)
1100
foreach (
SolutionConfigurationInSolution
solutionConfiguration in solution.SolutionConfigurations)
1170
foreach (
SolutionConfigurationInSolution
solutionConfiguration in solution.SolutionConfigurations)
1215
foreach (
SolutionConfigurationInSolution
solutionConfiguration in solution.SolutionConfigurations)
Graph\GraphLoadedFromSolution_tests.cs (12)
180
var
currentSolutionConfigurationPlatform in SolutionFileBuilder.SolutionConfigurationPlatformsDefaults.Concat(new
SolutionConfigurationInSolution
[] { null }))
197
SolutionConfigurationInSolution
currentSolutionConfiguration,
198
IReadOnlyCollection<
SolutionConfigurationInSolution
> solutionConfigurations)
207
SolutionConfigurationInSolution
currentSolutionConfiguration,
208
IReadOnlyCollection<
SolutionConfigurationInSolution
> solutionConfigurations)
234
ProjectConfigurations = new Dictionary<string, Dictionary<
SolutionConfigurationInSolution
, ProjectConfigurationInSolution>>
237
"1", new Dictionary<
SolutionConfigurationInSolution
, ProjectConfigurationInSolution>
662
SolutionConfigurationInSolution
currentSolutionConfiguration,
663
IReadOnlyCollection<
SolutionConfigurationInSolution
> solutionConfigurations,
664
Dictionary<string, Dictionary<
SolutionConfigurationInSolution
, ProjectConfigurationInSolution>> projectConfigurations = null)
705
var
expectedCurrentConfiguration = currentSolutionConfiguration ?? solutionConfigurations.First();
SolutionFileBuilder.cs (6)
26
public static readonly IReadOnlyCollection<
SolutionConfigurationInSolution
> SolutionConfigurationPlatformsDefaults = new[]
37
public IReadOnlyCollection<
SolutionConfigurationInSolution
> SolutionConfigurationPlatforms { get; set; } = SolutionConfigurationPlatformsDefaults;
39
public Dictionary<string, Dictionary<
SolutionConfigurationInSolution
, ProjectConfigurationInSolution>> ProjectConfigurations { get; set; }
88
Dictionary<string, Dictionary<
SolutionConfigurationInSolution
, ProjectConfigurationInSolution>> projectConfigurations = null,
181
foreach (
var
solutionConfigurationPlatform in SolutionConfigurationPlatforms)
194
var
solutionConfiguration = configurationMapping.Key;