切换到WPF应用程序的设计视图时,导致Visual Studio 2008 SP1崩溃的原因是什么 [英] What causes Visual Studio 2008 SP1 to crash when switch to Design View of a WPF application

查看:119
本文介绍了切换到WPF应用程序的设计视图时,导致Visual Studio 2008 SP1崩溃的原因是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在开发了没有源代码控制的WPF应用程序之后,我决定将解决方案添加到TFS.

After developing a WPF application without Source Control, I decided to add the solution to TFS.

这样做之后,只要在Design View中打开主window.xaml文件,Visual Studio就会消失,并且以下事件将记录在应用程序事件"日志中:

After doing so whenever I opened the main window.xaml file in Design View Visual Studio would disappear and the following event would be logged in the Application Event log:

.NET运行时版本2.0.50727.3053-致命执行引擎错误(7A035E00)(80131506)

.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (7A035E00) (80131506)

有关更多信息,请参阅帮助和 的支持中心 http://go.microsoft.com/fwlink/events.asp .

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

推荐答案

相同的问题,但未安装Power Commands. 我一直能够使用的唯一解决方法是在打开任何xaml文件之前清理/重建该解决方案.如果由于XAML在启动时加载而无法进入解决方案,请删除suo.

Same issue, but without Power Commands installed. The only workaround I've been able to consistently use is to Clean/Rebuild the solution before opening ANY xaml file. If you can't get into your solution because the XAML is loading on start up, delete the suo.

这篇关于切换到WPF应用程序的设计视图时,导致Visual Studio 2008 SP1崩溃的原因是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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