Windows 10上的VS 2017 Pro - XAML设计器不可用 [英] VS 2017 Pro on Windows 10 - XAML designer not available

查看:234
本文介绍了Windows 10上的VS 2017 Pro - XAML设计器不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在最新的Windows 10企业PC上安装了VS 2017(15.2)。我已经安装/卸载,重置软件包,修复,重新安装等。我创建了一个新的Xamarin.Forms应用程序,我仍然无法使用设计器的任何.xaml文件("有
没有可用于MainPage的编辑器。 XAML")。无法弄清楚发生了什么。

I have VS 2017 (15.2) installed on an up to date Windows 10 Enterprise PC. I have Installed/Uninstalled, reset packages, repaired, reinstalled, etc. I create a new Xamarin.Forms app and I still cannot use the designer for any .xaml files ("There is no editor available for MainPage.xaml"). Cannot figure out what is going on.

vslogs.zip:  https://1drv.ms/u/s!Aqgn00HkJJ6_uZl9m0ixErwC6Ay6iw

vslogs.zip: https://1drv.ms/u/s!Aqgn00HkJJ6_uZl9m0ixErwC6Ay6iw

activitylog.xml:  https://1drv.ms/u/s!Aqgn00HkJJ6_uZl_txxsI9qg7s-myA

activitylog.xml: https://1drv.ms/u/s!Aqgn00HkJJ6_uZl_txxsI9qg7s-myA

推荐答案

Hi BikeMrown,

Hi BikeMrown,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

我刚检查过您的日志,但是没有发现任何关于XAML设计器的错误,但Hyper导致安装Win 8.1 sdk和Win 10 sdk失败。

I just checked your log, but didn't find any error about the XAML designer, but the Hyper, leads to the failure of installing Win 8.1 sdk and Win 10 sdk.

回到这个问题,如果XAML预览版没有显示,请检查以下内容:

Back to this issue, If the XAML Preview isn't showing, please check the following:


  • 在尝试预览XAML文件之前,应构建(编译)项目。
  • 设计师首次预览XAML文件时必须设置代理 - 预览器中将显示进度指示器以及进度m ehiages,直到准备就绪。
  • 尝试关闭并重新打开XAML文件。

XAML预览器要求在渲染之前构建项目页面。如果以下错误出现在预览窗格的顶部,请重新构建应用程序并重试。

The XAML Previewer requires that the project be built before rendering a page. If the error below appears at the top of the preview pane, re-build the application and try again.

此外,您还可以检查
Xamarin论坛
 寻求更专业的支持,因为这个问题与Xamarin.Forms app有关。

In addition, you can check the Xamarin Forums to seek for a much professional support, since this issue is related to Xamarin.Forms app.


这篇关于Windows 10上的VS 2017 Pro - XAML设计器不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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