.NET Core 2.0和ASP.NET Core 2.0正式版抢先体验
.NET Standard 2.0 is final
Broad platform support. .NET Standard 2.0 is supported on the following platforms:
.NET Framework 4.6.1
.NET Core 2.0
Mono 5.4
Xamarin.iOS 10.14
Xamarin.Mac 3.8
Xamarin.Android 7.5
UWP is work in progress and will ship later this year.
https://github.com/dotnet/standard/issues/439
.NET Core 2.0 正式版NuGet库: https://dotnet.myget.org/gallery/dotnet-2-0-0-rtm
.NET Core 2.0 正式版发布时间将会在.NET Conf 上发布。具体时间为9月18日或19日。
.NET Core 2.0.1 SDK Windows x64下载
https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.0.0/dotnet-sdk-latest-win-x64.exe
更多版本下载:https://github.com/dotnet/cli/tree/release/2.0.0
下面来正式体验。本文使用sdk 压缩包。
新建项目dotnet --info
Console新建项目 dotnet new console
在项目目录下添加 NuGet.Config 如下:
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <clear /> <add key="dotnet-2-0-0-rtm" value="https://dotnet.myget.org/F/dotnet-2-0-0-rtm/api/v3/index.json" /> </packageSources> </configuration>