Visual Studio 2013 crashing when opening debug tab

最后都变了- 提交于 2019-12-12 13:40:21

问题


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:

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

I'm running Visual Studio as an Administrator


回答1:


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:

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.

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

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



来源:https://stackoverflow.com/questions/20337032/visual-studio-2013-crashing-when-opening-debug-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!