Reputation: 155
i've recently (yesterday) updated visual studio 2019. I have access to .net core 3.1 sdk and can create .net core 3.1 projects. However, when i try to create a .net standard library, it defaults to 2.0.3 instead of 2.1.
As far as i understand, .net standard 2.1 should come with .net core 3.1.
Am i misunderstanding something here?
Upvotes: 2
Views: 2272
Reputation: 28826
Create a blank solution and add a new Class Library (.NET Standard)
. In properties change the target framework to .NET Standard 2.1
Save the changes and click on Project
->Export template
:
and create an Project template
based on the class lib project.
give it a name and description and finish.
and when you create a new project, select your generated template and now it is always set to .NET Standard 2.1
instead of .NET Standard 2.0
.
Upvotes: 1