缺少 Xamarin 表单预览器 [英] Xamarin Forms Previewer is missing

查看:49
本文介绍了缺少 Xamarin 表单预览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该问题发生在 Visual Studio Community 2019 版本 16.9.1.

The issue occurred on Visual Studio Community 2019 version 16.9.1.

刚刚下载了上面提到的VS版本.我正在尝试开发移动应用程序,但缺少 Xamarin Forms Previewer,我无法从选项工具启用它.

The VS version mentioned above was just downloaded. I am trying to develop a mobile app, but the Xamarin Forms Previewer is missing and I can not enable it from the Option Tools.

有关详细信息,请参阅附件.

For more information, please see the attached files.

你能帮我解决一个问题吗?提前致谢!

Can you help me with a solution? Thank you in advance!

推荐答案

XAML 预览器已在 Visual Studio 2019 版本 16.8 和 Visual Studio for Mac 版本 8.8 中弃用,取而代之的是 Visual Studio 2019 版本中的 XAML 热重载功能16.9 和 Visual Studio for Mac 版本 8.9.

The XAML Previewer has been deprecated in Visual Studio 2019 version 16.8 and Visual Studio for Mac version 8.8, and replaced by the XAML Hot Reload feature in Visual Studio 2019 version 16.9 and Visual Studio for Mac version 8.9.

目前,它使用 Hot Reload insead 并提供实时可视化树来接收您正在运行的 XAML 代码的实时视图.它显示了正在运行的 Xamarin.Forms 应用程序的 UI 元素的树视图.

For now, it use the Hot Reload insead and provide a live visual tree to receive a real-time view of your running XAML code. It shows a tree view of the UI elements of your running Xamarin.Forms application.

当您调试项目时,默认情况下,它会出现在 IDE 的左侧.如果没有看到,请使用 Debug >窗口 >实时可视化树以显示它.

When you debug you project, by default, it appears on the IDE's left. If you don't see it, use Debug > Windows > Live Visual Tree to show it.

这篇关于缺少 Xamarin 表单预览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆