打开调试选项卡时 Visual Studio 2013 崩溃 [英] Visual Studio 2013 crashing when opening debug tab

查看:25
本文介绍了打开调试选项卡时 Visual Studio 2013 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试打开 Windows Phone 8 项目属性面板中的调试"选项卡时,Visual Studio 2013 Professional 崩溃.没有错误仅给出Microsoft Visual Studio 2013 已停止工作".附加 Visual Studio 作为调试器并得到以下错误:

Visual Studio 2013 Professional crashes when I try to open the Debug tab in the properties panel of a Windows Phone 8 project. No error given only "Microsoft Visual Studio 2013 has stopped working". Attached Visual Studio as a debugger and got the following error:

Microsoft.VisualStudio.SmartDevice.ProjectSystem.Base.dll 中发生类型为System.NullReferenceException"的未处理异常

An unhandled exception of type 'System.NullReferenceException' occurred in Microsoft.VisualStudio.SmartDevice.ProjectSystem.Base.dll

我以管理员身份运行 Visual Studio

I'm running Visual Studio as an Administrator

推荐答案

我遇到了同样的问题,我有一个非常奇怪的行为.我第一次在 VS2013 中创建 WP8 项目时,我拥有模拟器、设计器、设备甚至项目的调试选项卡的所有选项.mainpage.xaml 的所有标记都可以.如果我在 Visual Studio 2013 中关闭并重新打开项目的新实例,一切都会开始出现问题:我无法打开调试选项卡,模拟器选项不见了,设备窗口显示为只读模式,xaml 的标记说一个无效标记"并得到如下错误:

I have the same problem with a very weird behavior. The first time I create a WP8 project in VS2013 I have all the options for emulators, the designer, the devices and even the debug tab of the project working fine. All the markup of the mainpage.xaml is ok. If I close and reopen a new instance of the project in visual studio 2013, everything start having problems: I can not open the debug tab, the emulators optios are gone, the device windows appear in read only mode, The markup of the xaml says an "Invalid Markup" and got errors like:

名称PhoneApplicationPage"在命名空间clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"中不存在.

The name "PhoneApplicationPage" does not exist in the namespace "clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone".

但是:它在模拟器中编译和运行.

BUT: It compiles and run in the emulator.

我也安装了所有 Xamarin 工具.我似乎在 Visual Studio 2012 中没有收到此错误.

I also DO have all the Xamarin tools installed. It seems I am not getting this errors in Visual Studio 2012.

解决方案:从 Xamarin Studio 检查更新并安装 android SDK 4.10.2 和 GTK# (2.12.0.0).在撰写本文时,您必须订阅 BETA 频道才能获得此更新.安装后,您不必删除项目的 de .suo 文件,在 Visual Studio 2013 中一切正常

SOLUTION: From Xamarin Studio check for update and install the android SDK 4.10.2 and GTK# (2.12.0.0). At the time of this writing you have to subscribe to the BETA Channel to get this update. After installation you DONT have to delete de .suo file of the project and everything looks fine again in Visual Studio 2013

这篇关于打开调试选项卡时 Visual Studio 2013 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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