简体   繁体   English

Xamarin Forms 缺少预览器

[英]Xamarin Forms Previewer is missing

在此处输入图像描述

在此处输入图像描述

The issue occurred on Visual Studio Community 2019 version 16.9.1.该问题发生在 Visual Studio Community 2019 版本 16.9.1 上。

The VS version mentioned above was just downloaded.上面提到的VS版本是刚刚下载的。 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.我正在尝试开发移动应用程序,但缺少 Xamarin Forms 预览器,我无法从选项工具中启用它。

For more information, please see the attached files.有关详细信息,请参阅附件。

Can you help me with a solution?你能帮我解决一下吗? Thank you in advance!先感谢您!

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. XAML Previewer 已在 Visual Studio 2019 版本 16.8 和 Visual Studio for Mac 版本 8.8 中弃用,并由 Visual Studio 2019 版本 16.9 和 Visual Studio for Mac 版本 8.9 中的 XAML 热重载功能取代。

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.目前,它使用 Hot Reload insead 并提供实时可视化树来接收正在运行的 XAML 代码的实时视图。 It shows a tree view of the UI elements of your running Xamarin.Forms application.它显示了正在运行的 Xamarin.Forms 应用程序的 UI 元素的树形视图。

When you debug you project, by default, it appears on the IDE's left.调试项目时,默认情况下,它显示在 IDE 的左侧。 If you don't see it, use Debug > Windows > Live Visual Tree to show it.如果您没有看到它,请使用Debug > Windows > Live Visual Tree来显示它。

在此处输入图像描述

I also face the same problem today in visual studio 16.9.1.我今天在 Visual Studio 16.9.1 中也面临同样的问题。 I am also not able to enable it from anywhere in Visual Studio我也无法从 Visual Studio 中的任何位置启用它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM