Improve Target framework selection
Closed this issue · 5 comments
When using Visual Studio 2017, I would like the ability to change the target framework of a project without restriction. Currently, Visual Studio limits the framework options given to a user based on the initial project type. Since I am able to now edit a *.csproj and save a change to the <TargetFramework> node, shouldn't the GUI allow me to do that same?
When I create a new project targeting the netstandard1.5 target framework moniker, the dropdown is limited to variants of .NET Standard.
The .csproj targeting netstandard1.5
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.5</TargetFramework>
</PropertyGroup>
</Project>Likewise, if I change this in the *.csproj to target net461 for example - the options are again limited to Full .NET Framework listings.
The .csproj targeting net461
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
</PropertyGroup>
</Project>Finally, the same is true for netcoreapp2.0 - targeting .NET Core.
The .csproj targeting netcoreapp2.0
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
</Project>I've not seen an actual bug on this - but this is a good suggestion and something we've wanted to do for a while.
Maybe also consider Ctrl+Click for multi-select. As we are also allowed to do
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>@Pilchie said:
Ideally, we'd split the concepts apart, but for 15.8, we'd be willing to just merge them into the same list:
We don't intend to do any specific work here.



