[英]unable to add .net core 2.2 to visual studio
I'm creating a Winforms (.Net Core) application in Visual Studio 2019, the project is created with.Net Core 3.0 which has no designer.我正在 Visual Studio 2019 中创建一个 Winforms (.Net Core) 应用程序,该项目是使用没有设计器的 .Net Core 3.0 创建的。 I have downloaded and installed.Net Core 2.2 and.Net Core 2.1 SDKs but they are not being added to Visual Studio and still the only available option is.Net Core 3.0我已经下载并安装了 .Net Core 2.2 和 .Net Core 2.1 SDK,但它们没有被添加到 Visual Studio 并且仍然唯一可用的选项是 .Net Core 3.0
Am I missing something?我错过了什么吗?
You aren't able to use .net core versions previous to 3.0 due to the fact that Windows Desktop support is, in fact, a new feature to core 3.0.由于Windows 桌面支持实际上是核心 3.0 的新功能,因此您无法使用 3.0 之前的 .net 核心版本。
@madreflection has pointed out in comments that there is a designer for WinForms that will work in core 3.0, but it is currently in preview. @madreflection 在评论中指出,有一个WinForms 设计器可以在 core 3.0 中工作,但它目前处于预览阶段。 This may prove sufficient for your purposes in the interim, but you may be looking at sticking with Framework until the designer is out of preview.在此期间,这可能足以满足您的目的,但您可能会考虑坚持使用 Framework,直到设计器不再预览。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.