dotnet-installer/TestAssets
Peter Huene f7009106d8
Map solution configurations to existing project configurations on add.
This commit implements solution configuration to project configuration mapping.

Previously, when a project was added to the solution with the `sln add`
command, solution configurations would be mapped to a project configuration and
platform of the same name, regardless of whether or not the project had a
configuration or platform of that name.  This caused the solution to appear
dirty when opened in Visual Studio if the configuration or platform did not
exist at the project level because Visual Studio would attempt to correct the
mapping.

The fix is to check what configurations and platforms are supported by the
project and only map to what is present.  If a solution configuration can't be
mapped, the first configuration/platform supported by the project is chosen;
this is consistent with how Visual Studio does the fallback mapping.

Fixes #6221.
2018-01-05 18:40:26 -08:00
..
DesktopTestProjects Merge remote-tracking branch 'dotnet/release/15.5' into merges/release/15.5-to-master-20171206-080040 2017-12-07 09:55:12 -08:00
LockFiles/ExportFiles Fix package code for new NuGet. 2016-07-26 20:53:20 -05:00
NonRestoredTestProjects Add support for accepting directories to add and remove reference commands. 2017-12-07 17:23:31 -08:00
TestPackages Fixing the path to the prefercliruntime file. 2017-12-19 10:10:30 -08:00
TestProjects Map solution configurations to existing project configurations on add. 2018-01-05 18:40:26 -08:00
Directory.Build.props Support new artifacts layout in tests and other build logic 2017-08-24 15:49:13 -07:00