VS2019 - 一些 ToolBox 组件变灰 [英] VS2019 - some ToolBox components greyed out
问题描述
我刚刚安装了VS2019,不知道为什么大部分工具箱组件都被禁用了,只能使用所有窗体"...
I just installed VS2019 and can't figure out why most of the toolbox components are disabled, only 'all windows forms' can be used...
安装了 .net framework 4.8,但它仍然不会出现在 C# 中
edit: installed .net framework 4.8, but it still won't show up in C#
知道了!我必须创建不是基于核心而是基于框架的 winform 项目!
edit 2: GOT IT! I had to create the winform project not based on core, but framework!
推荐答案
根据https://devblogs.microsoft.com/dotnet/introducing-net-core-windows-forms-designer-preview-1/
- 容器
- 资源
- 组件托盘
- 就地编辑
- 设计师操作
- 数据绑定
- 用户控件/继承控件
.Net Core 3.0 Designer 尚不支持
are not supported in the .Net Core 3.0 Designer yet
在这些东西被添加到 .Net Core 之前,你必须使用 .Net Framework(最新版本是 4.7.2)
You have to use the .Net Framework (newest Version is 4.7.2) until these things get added to .Net Core
这篇关于VS2019 - 一些 ToolBox 组件变灰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!