Error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span id="_ctl0_MainContent__ctl0_PostForm_PreviewBody
I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2005:
<font face="Courier New, Courier, Monospace Project : error PRJ0002 : Error result 1 returned from C:WINDOWSsystem32cmd.exe.</font>
It only comes up with a C++ program.  VB seems to be fine.
I was working on a "Class Library" when it first started so I tried creating a new project.  I tried doing a build before doing anything and the error message still came up.
Then I tried creating a brand new "Windows Form Application" and running it without any modifications - same error.
I tried uninstalling and then reinstalling Visual Studio 2005 - same problem.
What do I need to do to get rid of this problem? <pre><table width="100%" bgcolor="#cfcfe5 <tbody><tr><td><font face=arial size="+3 Build Log </font></td></tr></tbody></table><table cellspacing=0 cellpadding=0 width="* <tbody><tr><td width=0 bgcolor="#ededf5  </td><td width=0 bgcolor="#ffffff  </td><td width="* <pre><h3>Rebuild started: Project: Test3, Configuration: Debug|Win32</h3>
[/code]</td></tr></tbody></table><table width="100%" bgcolor="#dfdfe5 <tbody><tr><td><font face=arial size="+2 Command Lines </font></td></tr></tbody></table><table cellspacing=0 cellpadding=0 width="* <tbody><tr><td width=0 bgcolor="#ededf5  </td><td width=0 bgcolor="#ffffff  </td><td width="* <pre>Creating temporary file "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000C39403432.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yu"stdafx.h" /Fp"DebugTest3.pch" /Fo"Debug\" /Fd"Debugvc80.pdb" /W3 /c /Zi /clr:pure /TP /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.Data.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.Drawing.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.Windows.Forms.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.XML.dll"

".Test3.cpp"

".AssemblyInfo.cpp"
]
Creating command line "cl.exe @"c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000C39403432.rsp" /nologo /errorReport:prompt"
Creating temporary file "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000D39403432.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /FD /EHa /MDd /Yc"stdafx.h" /Fp"DebugTest3.pch" /Fo"Debug\" /Fd"Debugvc80.pdb" /W3 /c /Zi /clr:pure /TP /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.Data.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.Drawing.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.Windows.Forms.dll" /FU "c:WindowsMicrosoft.NETFrameworkv2.0.50727System.XML.dll"

".stdafx.cpp"
]
Creating command line "cl.exe @"c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000D39403432.rsp" /nologo /errorReport:prompt"
Creating command line "resgen.exe /useSourcePath /compile "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3frmMain.resX","DebugTest3.frmMain.resources""
Creating command line "rc.exe /d "_UNICODE" /d "UNICODE" /fo"Debug/app.res" ".app.rc""
Creating temporary file "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000E39403432.rsp" with contents
[
/OUT:"C:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugTest3.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"DebugTest3.exe.intermediate.manifest" /DEBUG /ASSEMBLYDEBUG /PDB:"c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugTest3.pdb" /SUBSYSTEM:WINDOWS /ENTRY:"main" /MACHINE:X86 /FIXED:No /ASSEMBLYRESOURCE:".DebugTest3.frmMain.resources"

".DebugAssemblyInfo.obj"

".Debugstdafx.obj"

".DebugTest3.obj"

".Debugapp.res"
]
Creating command line "link.exe @"c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000E39403432.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000F39403432.rsp" with contents
[
/outputresource:".DebugTest3.exe;#1" /manifest

".DebugTest3.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugRSP00000F39403432.rsp" /nologo"
Creating temporary file "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugBAT00001039403432.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".Debugmt.dep"
]
Creating command line """c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugBAT00001039403432.bat"""
[/code]</td></tr></tbody></table><table width="100%" bgcolor="#dfdfe5 <tbody><tr><td><font face=arial size="+2 Output Window </font></td></tr></tbody></table><table cellspacing=0 cellpadding=0 width="* <tbody><tr><td width=0 bgcolor="#ededf5  </td><td width=0 bgcolor="#ffffff  </td><td width="* <pre>Compiling...
stdafx.cpp
Compiling...
Test3.cpp
AssemblyInfo.cpp
Generating Code...
Compiling managed resources...
Read in 0 resources from "c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3frmMain.resX"
Writing resource file... Done.
Compiling resources...
Linking...
Embedding manifest...
Project : error PRJ0002 : Error result 1 returned from C:WINDOWSsystem32cmd.exe.
[/code]</td></tr></tbody></table><table width="100%" bgcolor="#dfdfe5 <tbody><tr><td><font face=arial size="+2 Results </font></td></tr></tbody></table><table cellspacing=0 cellpadding=0 width="* <tbody><tr><td width=0 bgcolor="#ededf5  </td><td width=0 bgcolor="#ffffff  </td><td width="* <pre>Build log was saved at "file://c:Documents and SettingsStephen M. DerderianMy DocumentsDevelopment .NETTest3DebugBuildLog.htm"
Test3 - 1 error(s), 0 warning(s)
[/code]</td></tr></tbody></table><table height=20 width="100%" bgcolor="#cfcfe5 <tbody><tr><td><font face=arial size="+2 </font></td></tr></tbody></table>[/code]

View the full article
 
Back
Top