Error Spawning Resgen
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Project build error in Visual Studio up vote 1 down vote favorite I am getting the following error when building my project and have no idea what it means. Environment: C++/CLI - VS2005 EDIT: Error message is "Project : error PRJ0003 : Error spawning 'resgen.exe'." The weird thing is that it compiles other projects with the same configuration without any problems! I searched over the internet and it looks like it is caused by having VS2010 and VS2005 sitting together on the same machine. It is also said that reinstalling VS2005 fixes the problem. Has any of you encountered this problem before? If yes, how did you fix it? visual-studio-2005 c++-cli compiler-errors share|improve this question edited Nov 24 '11 at 15:29 asked Nov 24 '11 at 15:14 GETah 13.3k43472 1 uhmm -- what exactly is the error message? –Thomas Nov 24 '11 at 15:21 Sorry, my bad. Forgot to include the error message. Please see my edit –GETah Nov 24 '11 at 15:29 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted Just had the same problem and fixed it: resgen.exe resides in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin however that directory was not in VS' path, only the v7.1 SDK dir was there and that version does not seem to have resgen. Fixed simply by adding the above directory under `Tools->Options->Projects and Solutions->VC++ Directories->Executable Files', after the 7.1 dir to make sure things do not get messed up. My config looks like this now: .... $(WindowsSdkDir)\bin .... C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin share|improve this answer edited May 15 '12 at 13:58 answered Dec 13 '11 at 16:06 stijn 19.4k852104 Thanks a lot, this fixed all my problems :) Too bad I cannot do a +10! –GETah Dec 15 '11 at 15:23 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of
directory.So simply go to Tools/Options/ProjectsAndSolutions/VC++ Directories and append "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin" or whatever to the Executable files list. Sorted! Posted by SteveC at 05:41 Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest No comments: Post a http://stackoverflow.com/questions/8259229/project-build-error-in-visual-studio Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Followers About Me SteveC This is intended to be a collection of lessons learned the hard way. Hopefully reducing wasted hours for others, or http://ko2cv.blogspot.com/2010/08/project-error-prj0003-error-spawning.html indeed my future self! Your milage may vary - I don't know what I'm doing half the time after all. View my complete profile Blog Archive ► 2015 (2) ► February (1) ► January (1) ► 2013 (9) ► June (2) ► May (2) ► April (1) ► March (3) ► January (1) ► 2011 (2) ► October (1) ► March (1) ▼ 2010 (8) ► November (1) ► September (1) ▼ August (3) Project : error PRJ0003 : Error spawning 'resgen.e... System.Security.SecurityException: The source was ... The application has failed to start because its si... ► July (3) Picture Window template. Powered by Blogger.
Ok, I worked in a project coded in Managed C++ http://www.yqcomputer.com/11_dbb3b259902e401f_1.htm with Windows Forms. Then I paused it and I started coding on a simple Win32 (no .NET) screensaver in DirectX (so I installed the DirectX SDK). Then yesterday I restart to work on the first Managed C++ Project and when I've tried to compile it, I had a bad: MyManagedCppWinFormProject Error error spawning spawning 'resgen.exe' Also, all new template Windows Forms projects have the same error. What should I do Tnx. Top Tarek Madkour M how to fix a spawning 'resgen.exe' error? by Tarek Madkour M » Tue, 31 Mar 2009 05:12:28 Can you run the Visual C++ command prompt and see if resgen.exe is error spawning resgen in your path This error means that we cannot find (or execute) resgen.exe.Thanks, Top tecolot how to fix a spawning 'resgen.exe' error? by tecolot » Wed, 01 Apr 2009 07:14:30 Where can I download resgen.exe for VS .Net 2008 Top ashish tiwar how to fix a spawning 'resgen.exe' error? by ashish tiwar » Thu, 02 Apr 2009 06:13:29 Just copy an another resgen.exe downloaded from net instead of this file Top 1. Error PRJ 0003 spawning 'resgen.exe' 2. Error result returned from Resgen.exe 3. To convert .resx file to .resource file without using resgen.exe (programatically) 4. Strong name validation failed for assembly resgen.exe 5. "resgen.exe" exited with code - 1163019603 6. Beta 2 error, Project : error PRJ0003 : Error spawning 'cmd.exe'. 7. error PRJ0003 : Error spawning 'cl.exe'. 8. Project : error PRJ0003 : Error spawning 'cl.exe'. 9. error PRJ0003 : Error spawning 'cl.exe' Powered by phpBB Forum Software © phpBB Limited