4

I had vs2010 ultimate then I downloaded 2012 RC. It was working well at the beginning then at some point .net framework get messed up so I uninstalled both 2012 and 2010 (maybe I have manually deleted some folders too). Now I re-Installed vs2010 ultimate and the problem is none of the standard library files exist I figured so as I can't include any of them.

Any help how to fix that?

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
Karim Tarabishy
  • 1,223
  • 1
  • 13
  • 25
  • Do your standard C++ files reside in the PlatformSDK directory? In that case this can be related: http://stackoverflow.com/questions/1102689/windowssdkdir-is-not-set-correctly-in-visual-studio-2008 – harper Jul 18 '12 at 05:09

1 Answers1

0

That's a known problem with uninstaller of VS2012 RC/Beta. It will deregister the platform SDK, delete the folder, and even worse - would make changes for all previous VS versions. I am not sure what registry settings it changes (Around $(VCInstallDir)) - but it breaks it.

Only option is to find the relevant header, library and executable files, copy the path, and add it to your VC2010 (and previous, if any). You do it by VC++ Directories in Tools->Options, but that's not available for VC2010! So, you better specify the path in your project itself.

Tall order, I know, but it is like that - or you just re-install your OS. There is some "complete VS uninstallation" tool, but I couldn't find it now.

Ajay
  • 18,086
  • 12
  • 59
  • 105