views:

2676

answers:

6

Any idea how to fix this error in Visual Studio? This error occurs when trying to create a new C# Console Application. I can create and build a C# Website, but Intellisense does not work. VB Applications work correctly. I tried upgrading to SP1 but that did not help. I would hate to reinstall Visual Studio and have the error crop up again.

"Microsoft visual C# 2008 compiler could not be created. Please re-install Visual Studio."

A: 

Did you try reinstalling Visual Studio like you were told to do?

John Saunders
Obviously not, duh!
Samuel
No, he might have tried to reinstall it and failed. That could be why he's trying to work around a problem the solution of which he's been told already.
John Saunders
Reinstalling doesn't solve the issue.
NimsDotNet
How do you know it doesn't solve the issue, and why the downvote?
John Saunders
@Downvoter: Reason?
John Saunders
+2  A: 

In the command prompt, I ran C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\devenv.exe /resetsettings. Everything works fine now! This saved me a reinstall.

James Lawruk
A: 

Hi,

I tried to restart and reset but that did not work.

However this link solved my problem

http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/04be49aa-de6b-4f45-9a27-86e3f214a0fe

+4  A: 

I tried "resetsettings" and repairing the installation form add/remove programs, both didn't work.
Solved the issue by deleting the following registry key.

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio

Visual studio will ask you to select the language preference when you open it again. (Make sure that you delete the key from HKCU and not from HKLM)

NimsDotNet
/resetsettings did work for the original poster. If it didn't work for you, then it means you have a different problem with the same symptom.
John Saunders
This one worked for me too.
mockedobject
A: 

I was not able to vote, but restart and resetting the settings did not work for me. But deleting HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0 did work for me. Thank you NimsDotNet, sadly I could not vote for that answer for some reason.

Kharina Tigerfish
A: 

I use deven.exe /ResetSkipPkgs and Solve the problem I guess it's like delete the keys like it sais at http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/04be49aa-de6b-4f45-9a27-86e3f214a0fe

Grettins.

allende