简体   繁体   English

尝试打开W​​PF项目时,Visual Studio 2012崩溃

[英]Visual Studio 2012 crashes when trying to open a WPF project

Whenever I open a WPF project, Visual Studio crashes. 每当我打开WPF项目时,Visual Studio就会崩溃。 I start a second instance and attach the process to the first instance and I receive the following error once the project is "opened": 我启动第二个实例并将该过程附加到第一个实例,并且在“打开”项目后收到以下错误:

An unhandled exception of type 'System.MissingFieldException' occurred in Microsoft.VisualStudio.Progression.LanguageService.CSharp.dll Microsoft.VisualStudio.Progression.LanguageService.CSharp.dll中发生了类型为'System.MissingFieldException'的未处理异常

Additional information: Field not found: 'Microsoft.VisualStudio.Progression.Actions.GetNodeAtSourcePosition'. 其他信息:找不到字段:“ Microsoft.VisualStudio.Progression.Actions.GetNodeAtSourcePosition”。

I'm not entirely sure what to do. 我不完全确定该怎么办。 I have reinstalled Visual Studio once before and the error still occurs. 我之前已经重新安装了Visual Studio,并且仍然出现错误。 Any help on this problem would be wonderful! 在这个问题上的任何帮助将是美好的!

Had the same problem when creating a new project with VS2012. 使用VS2012创建新项目时遇到了相同的问题。 Applying VS2012 Update 1 did the trick for me. 应用VS2012 Update 1帮了我大忙。

http://www.microsoft.com/en-us/download/details.aspx?id=35774 http://www.microsoft.com/zh-cn/download/details.aspx?id=35774

Did you have a Beta Version of Visual studio installed in your system prior to this? 在此之前,您的系统中是否已安装Visual Studio的Beta版? What is your current version of VS? 您当前的VS版本是什么? If yes, then you need to remove all the components of VS Beta version manually. 如果是,那么您需要手动删除VS Beta版本的所有组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM