Use Visual Studio 2017 with .Net Core SDK 3.0(将 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 中:你可以去 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 一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:将 Visual Studio 2017 与 .Net Core SDK 3.0 一起使用
基础教程推荐
- 更新 Visual Studio 中的 DataSet 结构以匹配新的 SQL 数据库结构 2022-01-01
- 重新排序 WPF TabControl 中的选项卡 2022-01-01
- 将数据集转换为列表 2022-01-01
- 获取C#保存对话框的文件路径 2022-01-01
- 如果条件可以为空 2022-01-01
- 从 C# 控制相机设备 2022-01-01
- C# 9 新特性——record的相关总结 2023-04-03
- SonarQube C# 分析失败“不是指针的有效行偏移" 2022-01-01
- Mono https webrequest 失败并显示“身份验证或解密失败" 2022-01-01
- 在 VB6 或经典 ASP 中使用 .NET 2022-01-01
