Update classlib tempalte to include .NET Standard 2.1
See original GitHub issueRunning
dotnet new classlib
Should still create a .NET Standard 2.0 project. However, it should be possible for a developer to specify the 2.1 TFM as well:
dotnet new classlib -f netstandard2.1
Since they are hardcoded in the template itself, we need to add it to the list.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Tutorial: Create a .NET class library using Visual Studio
On the Add a new project page, enter library in the search box. Choose C# or Visual Basic from the Language list, and...
Read more >c# - How can I change a .NET standard library to ...
Open up the project file (.csproj) and change the TargetFramework to net462 <PropertyGroup> <TargetFramework>net462</TargetFramework> ...
Read more >NET Core 3 - .NET Standard 2.1
.NET Core 3.0 implements .NET Standard 2.1. However, the default dotnet new classlib template generates a project that still targets .NET Standard 2.0....
Read more >Upgrading an older .NET SDK to .NET Core and .NET Standard
LIVE: Upgrading an older .NET SDK to .NET Core and . NET Standard. 19K views · Streamed 4 years ago ...more ...
Read more >Creating your first shared library in .NET Core - DevTrends
Sharing libraries between projects is a fundamental requirement in all but the most simple applications. This post looks at how things have changed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Re-activating since we had to pull this out due to the default in VS changing to netstandard2.1.
We need the option to create a netstandard 2.1 project, however, the default should continue being netstandard2.0 for both Visual Studio and the CLI.
cc @terrajobst
Mike showed me where to make the change. Have a PR with the fix.