Orientation .NET Core 2.0

I just create a simple ClassLibrary project with a preview of VS2017 2.1. I am creating using the .NET Core project template. When I check the details of the project, I see that it targets the .NET 2.0 standard. How can I target .NET Core 2.0 (which will implement more APIs according to the test done using the API port)

+4
source share
4 answers

The problem disappeared with VS2017 15.3.0 Preview 3!

+2
source

Update. Templates have been fixed in a recent update for VS 2017 15.3 Preview.

, " (.NET Core)", .NET Standard 2.0.

, csproj

<TargetFramework>netstandard2.0</TargetFramework>

<TargetFramework>netcoreapp2.0</TargetFramework>

csproj , " {}.csproj".

+7

, .NET Core VS2017, .NET Core 2.0, .NET Core, .NET, VS2017.

+2

Source: https://habr.com/ru/post/1680028/


All Articles