[英]"Visual Studio requires a newer version of Windows to display this content."
Getting the error "Visual Studio requires a newer version of Windows to display this content."收到错误“Visual Studio 需要更新版本的 Windows 才能显示此内容。” when using the XAML designer tool in Xamarin.
在 Xamarin 中使用 XAML 设计器工具时。 Any ideas on how I'd go about tracking down the source of this?
关于我将如何追踪此来源的任何想法? I'm using Windows 10, and Visual Studio 2015.
我使用的是 Windows 10 和 Visual Studio 2015。
Update from 14th September 2016 2016年9月14日更新
The live preview for Xamarin forms is now available in the stable channel. Xamarin表格的实时预览现已在稳定频道中提供。 https://developer.xamarin.com/releases/studio/xamarin.studio_6.1/xamarin.studio_6.1/#Xamarin_Forms_Previewer
https://developer.xamarin.com/releases/studio/xamarin.studio_6.1/xamarin.studio_6.1/#Xamarin_Forms_Previewer
Update from 27th April 2016 2016年4月27日更新
Xamarin has just announced a live preview for Xamarin.Forms on the Evolve 2016 Keynote. Xamarin刚刚在Evolve 2016主题演讲中宣布了Xamarin.Forms的实时预览 。 It is included in the alpha channel, and you need to update Xamarin.Forms to 2.3 prerelease.
它包含在alpha通道中,您需要将Xamarin.Forms更新为2.3预发布。
Original Answer 原始答案
Xamarin.Forms XAML is not WPF XAML. Xamarin.Forms XAML不是WPF XAML。 There is currently no editor for this dialect.
目前没有这种方言的编辑 。
There is not yet a visual designer for generating XAML in Xamarin.Forms applications, so all XAML must be hand-written.
目前还没有一个可视化设计器用于在Xamarin.Forms应用程序中生成XAML,因此所有XAML都必须是手写的。
The only way to have a preview is currently Gorilla Player . 进行预览的唯一方法是目前的Gorilla Player 。 But the community is requesting it strongly.
但社区强烈要求它 。 It's the feature request with the most votes.
这是投票最多的功能请求。
I was facing the same problem when I was loading the MainPage.xaml
file of my UWP
application in my Visual Studio 2019
.在
Visual Studio 2019
加载UWP
应用程序的MainPage.xaml
文件时,我遇到了同样的问题。
I was sure that I have the version 1903 (10.0.18362.0) in my system, so the problem was not that.我确信我的系统中有 1903 (10.0.18362.0) 版本,所以问题不是那个。 To fix this error, this is what I did.
为了修复这个错误,这就是我所做的。
Now you should be able to see the design view of your xaml
file.现在您应该能够看到您的
xaml
文件的设计视图。 Hope it helps.希望能帮助到你。
This answer is based on the Title (No Xamarin) 这个答案是基于标题(没有Xamarin)
I found this Choose a UWP Version link to be helpful in solving the problem. 我发现这个选择UWP版本链接有助于解决问题。
Go to: 去:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.