Command dotnet new classlib - How to choose different target framework than the defaults #34239
Labels
cli/subsvc
dotnet-fundamentals/svc
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
It is also possible to choose a different target framework than the defaults when using dotnet new classlib, but it's not mentioned in the documentation how.
Replace command parameter --framework with e.g. --target-framework-override net462 to install Net Framework 4.6.2.
I believe you can find the official frameworks abbreviations listed here.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
Associated WorkItem - 65743
The text was updated successfully, but these errors were encountered: