[英]Why is .Net core 3.1 not available as target framework in Visual Studio Community Edition 2017
This is my first project on .net and Visual Studio.这是我在 .net 和 Visual Studio 上的第一个项目。 This may be a really basic question.
这可能是一个非常基本的问题。 However, I looked through the questions, web and documentation but could not find the answer.
但是,我查看了问题、网络和文档,但找不到答案。
I have Visual Studio Community Edition 2017 15.9.21 and dotnet 3.1 sdk is installed.我安装了 Visual Studio Community Edition 2017 15.9.21 和 dotnet 3.1 sdk。
.NET Core SDK (reflecting any global.json):
Version: 3.1.102
Commit: 573d158fea
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\3.1.102\
Host (useful for support):
Version: 3.1.2
Commit: 916b5cba26
.NET Core SDKs installed:
2.1.512 [C:\Program Files\dotnet\sdk]
3.1.102 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
But when I choose new project and get to .net framework, only option I see is .Net 2.1.但是当我选择新项目并使用 .net 框架时,我看到的唯一选项是 .Net 2.1。
How do I configure to see 3.1 .net?如何配置以查看 3.1 .net?
Thank you for your help.感谢您的帮助。
不幸的是,.NET Core 3 需要 MSBuild 16,它只随 VS 2019 一起提供。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.