0

When I am trying to run a C# project on my VS 2008 the following message appears:

"Project "defining" could not be opened because Microsoft Visual C# 2008 compiler could not be created.Query Service for { } failed."

I have uninstalled and installed VS 2008 twice. Also installed a patch for it. But the error persists. I am able to run Visual Basic projects.

Any of you have an idea how to resolve this issue?

Thanks.

olive
  • 2,983
  • 5
  • 21
  • 20

2 Answers2

0

I had a similar problem, but with VS 2010. I tried opening VS with both the /ResetSkipPkgs and /ResetSettings switches, which didn't work. I finally fixed it by deleting the following registry key.

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio

Visual studio will lose all user preferences the next time you start it.

John Gilmer
  • 831
  • 1
  • 11
  • 18
0

This problem is solved Here

Community
  • 1
  • 1
Kent
  • 2,952
  • 2
  • 25
  • 42
  • hi could you tell me what exactly to do? coz I'm not really sure how to implement what has been given in the solutions present in the link. thanks. – olive May 17 '11 at 09:55