如何在 Visual Studio 2017 中打开 .Net Core 3.0
项目?
How Can I open .Net Core 3.0
project in Visual Studio 2017?
我已经从 dotnet.microsoft.com 下载了 .NET Core 3.0 SDK 并创建了新项目dotnet new
文件夹中的命令.
I have downloaded the .NET Core 3.0 SDK from dotnet.microsoft.com and created new project with dotnet new
command in a folder.
构建 C# 项目显示错误:
Building C# project shows error:
当前的 .NET SDK 不支持面向 .NET Core 3.0.任何一个以 .NET Core 2.1 或更低版本为目标,或使用 .NET SDK 的版本支持 .NET Core 3.0.
The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.0.
我检查了它,但它在我的情况下不起作用:
I checked it but it doesn't work in my case:
Visual Studio 2017 与 .Net Core SDK 2.0
Visual Studio 2017 与 .Net Core SDK 2.1
.在 VS 2017 中:你可以去 Tools → Options → Project和解决方案 → .NET Core,然后检查使用 .NET Core SDK 的预览版
.In VS 2017: You can just go to the Tools → Options → Project and Solutions → .NET Core and then check Use previews of the .NET Core SDK
这篇关于将 Visual Studio 2017 与 .Net Core SDK 3.0 一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!