将 Visual Studio 2017 与 .Net Core SDK 3.0 一起使用 [英] Use Visual Studio 2017 with .Net Core SDK 3.0

查看:41
本文介绍了将 Visual Studio 2017 与 .Net Core SDK 3.0 一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 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 中:你可以去 ToolsOptionsProject和解决方案.NET Core,然后检查使用 .NET Core SDK 的预览版

.In VS 2017: You can just go to the ToolsOptionsProject and Solutions.NET Core and then check Use previews of the .NET Core SDK

这篇关于将 Visual Studio 2017 与 .Net Core SDK 3.0 一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆