Visual Studio 2022 - 处于调试模式时,自定义控件不会在设计器中呈现
Visual Studio 2022,最新版本。我有一个广泛的 WPF/VB.Net 解决方案,其中包括自定义/用户控件。当我在调试模式下设计/编辑解决方案时,我的用户控件不会呈现。相反,他们旁边有这些蓝色的“信息”圆圈。当我切换到发布模式时,它们会正确渲染(有时)。我通常必须将配置更改为 x86 或类似的配置并重建它才能显示。我在 Visual Studio 2017 中从未遇到过此问题。
问题 - 调试屏幕截图
问题 - 调试屏幕截图 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 2
Working - Release mode
Working - Release mode screenshot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论