Visual Studio 2012 RC 设计器无法识别 Windows Metro 应用程序的 xaml [英] Visual Studio 2012 RC designer does not recognize xaml for a Windows Metro app

查看:37
本文介绍了Visual Studio 2012 RC 设计器无法识别 Windows Metro 应用程序的 xaml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了 Visual Studio 2012 的候选发布版和 Windows 8 的发布预览版.我丢失了 xaml 智能感知,VS 将 xaml 视为 XML 文档.有没有其他人有任何想法可以从哪里开始解决这个问题?

I recently installed the release candidate for Visual Studio 2012 and the release preview for Windows 8. I lost xaml intellisense and VS treats xaml as an XML document. Does anybody else have any ideas where to start to fix this problem?

推荐答案

我只是重新安装了 Visual Studio 2012 RC.我不愿意尝试重现该问题,但我相信这就是我所做的:将安装了 Visual Studio 2010 的 Windows 7 Professional 升级到 Windows 8 Professional、安装 Visual Studio 2012 RC、安装 Windows 8 SDK.

I simply re-installed Visual Studio 2012 RC. I'm not willing to attempt to reproduce the problem, but I believe this is what I did: Upgrade windows 7 professional with Visual Studio 2010 installed to Windows 8 professional, Installed Visual Studio 2012 RC, Installed Windows 8 SDK.

我的症状包括:

  1. 在工具、选项、文本编辑器下,没有 xaml 选项.
  2. 当我尝试通过设计器查看 xaml 页面时,属性窗口将所有内容都显示为 XML 文档
  3. 我无法在 Visual Studio 中查看设计器(我可以在 Blend 中查看),它不让我查看,而是显示 xaml 标记.
  4. 没有智能感知.

重新安装不需要太多时间,大概 20-30 分钟.

Re-installing didn't take too much time, maybe 20-30 minutes.

这篇关于Visual Studio 2012 RC 设计器无法识别 Windows Metro 应用程序的 xaml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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