Visual Studio 2022 - 处于调试模式时,自定义控件不会在设计器中呈现

发布于 2025-01-17 14:12:06 字数 853 浏览 0 评论 0原文

Visual Studio 2022,最新版本。我有一个广泛的 WPF/VB.Net 解决方案,其中包括自定义/用户控件。当我在调试模式下设计/编辑解决方案时,我的用户控件不会呈现。相反,他们旁边有这些蓝色的“信息”圆圈。当我切换到发布模式时,它们会正确渲染(有时)。我通常必须将配置更改为 x86 或类似的配置并重建它才能显示。我在 Visual Studio 2017 中从未遇到过此问题。

问题 - 调试屏幕截图

问题 - 调试屏幕截图

问题 - 调试屏幕截图 2

问题 - 调试屏幕截图 2

工作 - 发布模式

工作中 - 发布模式

工作 - 发布模式屏幕截图

工作 - 发布模式屏幕截图

Visual Studio 2022, the latest build. I have an extensive WPF/VB.Net solution that includes custom/user controls. When I'm designing/editing the solution in Debug mode, my User Controls do not render. Instead, they get these blue "info" circles next to them. When I switch to Release mode they render properly (sometimes). I usually have to change the configuration to x86 or something like that and rebuild it to get it to show. I never had this problem in Visual Studio 2017.

Problem - Debug screenshot

Problem - Debug screenshot

Problem - Debug Screenshot 2

Problem - Debug Screenshot 2

Working - Release mode

Working - Release mode

Working - Release mode screenshot

Working - Release mode screenshot

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文