Cannot specify specific OS version TFM in dotnet new
#4638
Labels
area: template-content
The issue is related to content of template packages managed in this repo (/template_feed)
triaged
The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone
Uh oh!
There was an error while loading. Please reload this page.
With
dotnet new wpf
I can specify eithernet6.0
,net5.0
,netcoreapp3.0
ornetcoreapp3.1
. The odd thing though is that if you specifynet6.0
you actually getnet6.0-windows
.However I wanted to specify a TFM a bit more specific than the default, so I used
net6.0-windows10.0.19041.0
, which is a valid TFM for the WPF template, however I'm met with the following:Could the
-f
parameter be a little smarter and allow me to be more specific than the allowed TFMs, as long as it is a subset of them?The text was updated successfully, but these errors were encountered: