今天用vs2017新建.net core应用,发现不能选择最新的.net core版本,查找一些资料和链接后在官方找到了一些线索,vs2017不支持.net core3以上了,没办法只能下载vs2019 (16.4+)了,最新版本应该什么都支持吧,体验一下传说的blazor,C#编译成js的全栈技术。
Version | Status | Visual Studio 2017 SDK | Visual Studio 2019 SDK | Runtime | Release notes |
---|---|---|---|---|---|
.NET 5.0 | Preview | N/A | x64 SDK | x86 SDK (v5.0.100-preview.3) | x64 Runtime | x86 Runtime (v5.0.0-preview.3) | Release notes |
.NET Core 3.1 | LTS | N/A | x64 SDK | x86 SDK (v3.1.201) | x64 Runtime | x86 Runtime (v3.1.3) | Release notes |
.NET Core 3.0 | End of life | N/A | x64 SDK | x86 SDK (v3.0.103) | x64 Runtime | x86 Runtime (v3.0.3) | Release notes |
.NET Core 2.2 | End of life | x64 SDK | x86 SDK (v2.2.110) | x64 SDK | x86 SDK (v2.2.207) | x64 Runtime | x86 Runtime (v2.2.8) | Release notes |
.NET Core 2.1 | LTS | x64 SDK | x86 SDK (v2.1.513) | x64 SDK | x86 SDK (v2.1.805) | x64 Runtime | x86 Runtime (v2.1.17) | Release notes |
.NET Core 2.0 | End of life | x64 SDK | x86 SDK (v2.1.202) | x64 SDK | x86 SDK (v2.1.202) | x64 Runtime | x86 Runtime (v2.0.9) | Release notes |
.NET Core 1.1 | End of life | x64 SDK | x86 SDK (v1.1.14) | x64 SDK | x86 SDK (v1.1.14) | x64 Runtime | x86 Runtime (v1.1.13) | Release notes |
.NET Core 1.0 | End of life | x64 SDK | x86 SDK (v1.1.14) | x64 SDK | x86 SDK (v1.1.14) | x64 Runtime | x86 Runtime (v1.0.16) | Release notes |
引用微软的说明
https://dotnet.microsoft.com/download/visual-studio-sdks
在github .net core发行说明里也有相关说明
https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1.3/3.1.3.md
Visual Studio compatibility: .NET Core 3.1 requires Visual Studio 2019 16.4 or above to take full advantage of all its features. .NET Core 3.1 won't work properly in earlier versions of Visual Studio. See the following table to select the correct download.
OS | Development Environment | .NET Core SDK |
---|---|---|
Windows | Visual Studio 2019 version 16.4 | 3.1.103 |
Windows | Visual Studio 2019 version 16.5 | 3.1.201 |
MacOS | Visual Studio for Mac | Visual Studio for Mac .NET Core Support |