0

I just installed Windows SDK (7.0A) and now each time i try to either create a C++/CLI project or compile any existing C++ project i get:

Error spawning 'resgen.exe'.

I have added C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin to "Additional Include Directories"

before i installed the Windows SDK Visual Studio 2008 was working fine... any suggestions? I'm running Windows 7 x64 with my project built for Win32

Hariprasad
  • 3,556
  • 2
  • 24
  • 40
devHead
  • 794
  • 1
  • 15
  • 38
  • Is this possibly the problem: http://stackoverflow.com/questions/8259229/project-build-error-in-visual-studio – scott-pascoe Nov 09 '12 at 19:45
  • No, i tried that... VS 2010 compiles fine... but of course it's crap for C++ seeing how theres no intellisense... – devHead Nov 09 '12 at 19:49
  • looks like something is wrecked in VS 2008...can't even uninstall it... error: "A problem has been encountered while loading the setup components. Canceling Setup" – devHead Nov 09 '12 at 19:58
  • Yikes, I've run into that before myself. On the resgen issue, though, I found another possibility that you might try -- if you haven't already: http://ko2cv.blogspot.com/2010/08/project-error-prj0003-error-spawning.html – scott-pascoe Nov 09 '12 at 20:00
  • i tried that too... im going to reinstall vs 2008 ...found an uninstaller: http://stackoverflow.com/questions/114332/visual-studio-setup-problem-a-problem-has-been-encountered-while-loading-the – devHead Nov 09 '12 at 20:03
  • Don't modify "Additional Include Directories", modify "Executable Files" – Hans Passant Nov 09 '12 at 20:32
  • Thank you Hans. I'm in great need for this to work... so from my research i'm re-installing vs 2008 before i configure anything. i just started the re-installation... – devHead Nov 09 '12 at 20:35

1 Answers1

0

I wish i had waited to see if Hans suggestion would work, but here is what i did:

Original issue: After installing MS Windows SDK 7.0A VS 2008 gave a compile error: Error spawning 'resgen.exe'

I looked everywhere online for help, nothing worked, so i tried uninstalling VS 2008

I had issues with components that prevented the uninstallation, so i used the MS fixit tool posted here:

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'

I then reinstalled VS 2008 and now have no issues with the above error... i wish i had more time to debug to provide answers....

Community
  • 1
  • 1
devHead
  • 794
  • 1
  • 15
  • 38