-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Today, VS still relies on parsing magic
We need a simpler way to define the valid set of configurations.
Proposal
- Replace the magic conditions in property group with two new properties
$(Configurations)- lists the set of valid configurations, default will beDebug;Release
$(Platforms)- lists the set of valid platforms, default will beAnyCPU
These are analagous to
- Validate that
$(Configuration) is one of $ (Configurations),$(Platform) is one of $ (Platforms) and$(TargetFramework) is one of $ (TargetFrameworks).
This replaces the validation that we gave up where and invalid Configuration|Platform combination was observed by the lack of an OutputPath. We want the user to say what configurations they want without having to say the OutputPath for each, which we can define for them.
- Change VS project system to enumerate configurations and platform dimensions like it does for
TargetFrameworks and stop parsing the magic conditions. Configuration management project-system#694