views:

3058

answers:

13

I have a multi-project .NET application which I am developing in Visual Studio 2008. If I try to open the project properties for one of my projects (to change settings or publish) Visual Studio immediately closes. There is no prompt to send a report to Microsoft, and two consecutive errors logged in the Event Viewer:

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

If I delete all the .user and .suo files in my solution, I can once again publish and access project properties. The error, however, returns over time. This seems to suggest that the .suo or .user files are getting corrupted by Visual Studio. Has anyone else had this issue or know how to fix the problem?

+1  A: 

Looks like a bug in the CLR which affects add-ins (see here). Are you running any add-ins, and have you updated Visual Studio and the .NET framework to the latest service pack?

Volte
I am running the ReSharper add-in. I'll disable that and see if it fixes it.
Joseph Sturtevant
+2  A: 

Turn off all of your add-ins and try again. Use Tools->Add-in Manager.

If that doesn't help, run VS in "safe mode", by using devenv /safemode from a Visual Studio Command Prompt window.

John Saunders
I have the same problem, the solution did not work. I have no Addin installed, and I can't open my project in safemode. It says "It is not supported by this installation".
decasteljau
+1 I solved my problem (http://stackoverflow.com/questions/2198935/resource-editor-not-available-in-visual-studio-2008) first doing **devenv /safemode** and then watching in the VS output that some package was not loaded due to previous errors and to load it again I should try **devenv /resetskippkgs**. I did it and, voilà! Fixed.
Daniel Daranas
A: 

I am experiencing the same problem as the original poster, I try to open my project properties and VS just disappears completely, generating the same 2 errors in my event log as described above. I am running VSTS 2008 with .NET 3.5 SP1.

I am not using any add-ins and have tried running VS in safe mode but am unable to open my projects this way. I am using the Composite Application Library as part of my solution and none of my module projects are loading, it says that the project type is not supported by the installation.

Has anyone else found a workaround / fix for this problem?

Open Visual Studio 2008 command prompt. Type "devenv" and open project from there. It worked for me after that.
apandit
It worked for me!
decasteljau
A: 

I don't know what really caused the problem, but I could fix it by File -> Source Control -> Refresh status

Pieter
A: 

I experienced the same issue (VS 2008 SP1) with VSS source control. When viewing the project properties for my WPF project, VS would immediately close.

I tried apandit's suggestion and Pieter's tip and it resolved the problem - everything is working normally now.

Ben Elder
A: 

VS2008 would disappear when I attempted to open project properties. Finally solved it by doing a clean on the solution. Many hours of frustration wasted when the cure (at least in my case) was so simple (-:).

Tim in Colorado
A: 

when opening project properties causes vs to crash I found out that cleaning and NOT rebuilding the soulution worked reliably. I have no add-ons but program WPF and have had quite a few issues with WPF/vs not wanting to cooperate...

Robert
A: 

I had a similar problem today that was solved by uninstalling Power Commands for Visual Studio 2008. If you have this installed, I recommend removing it and trying again.

schummbo
A: 

I had exactly the same problem. Everytime I open the project properties or a resource file (.resx) vs2008 will stop responding and the task manager will show the cpu utilisation as 100%. I solved it by deleting the .suo file in the solutions folder and got a fresh copy from the source control and then from the VS2008 command prompt I typed in "devenv /resetskippkgs" . This restarted VS2008 and I could open my resources files and also the project properties.

+1  A: 

Build / Clean Solution resolved the crashing issue. My Event log (Application) contained

.NET Runtime version 2.0.50727.4200 - Fatal Execution Engine Error (6BF56198) (80131506)

mike
This worked for me as well.
ElectricDialect
A: 

Yes, I have experienced it many times. The problem goes away if I delete all the view private files (we use ClearCase here), .suo and .user included.

JZ
A: 

Same here, deleting just the .suo file fixes the problem and I can load my VS 2008 solution which as 4 projects (C#, C++/Cli, and two native C++).

Steve

A: 

I have a similar problem. When I try to open the project properties in stead of crashing it does nothing. I have no plugins, it happens with every project I have, it does not go away by deleting .suo or .user files.

Any boady has an idea of what it might be?

LMC