By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,719 Members | 1,811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,719 IT Pros & Developers. It's quick & easy.

PRJ0002 Error Building Class Library

P: n/a
I'm getting the following error when I build a Class Library project:
Embedding manifest...
Project : error PRJ0002 : Error result 1 returned from
'C:\WINDOWS\system32\cmd.exe'.

It happens with every the of C++ project I try to build. Not just Class
Libraries, but a plain Windows Form Application as well.

I've tried creating new projects with nothing but shell built by the Wizard,
but I still get the error.

I've tried uninstalling then reinstalling Visual Studio 2005 Professional
but the results are the same.

Turning off the "Imbed Manifest" property makes the error message go away,
but I need to have the manifest imbedded in the Class Library DLL I'm
building.

How do I correct this error?

Build Log Rebuild started: Project: MathFuncsAssembly, Configuration:
Debug|Win32
Environment Space _ACP_ATLPROV=C:\Program Files\Microsoft Visual
Studio 8\VC\Bin\ATLProv.dll
_ACP_INCLUDE=C:\Program Files\Microsoft Visual Studio
8\VC\include;C:\Program Files\Microsoft Visual Studio
8\VC\atlmfc\include;C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\include
_ACP_LIB=C:\Program Files\Microsoft Visual Studio 8\VC\lib;C:\Program
Files\Microsoft Visual Studio 8\VC\atlmfc\lib;C:\Program Files\Microsoft
Visual Studio 8\VC\atlmfc\lib\i386;C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\lib;C:\Program Files\Microsoft Visual Studio 8\;C:\Program
Files\Microsoft Visual Studio 8\lib
_ACP_PATH=C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program
Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program Files\Microsoft
Visual Studio 8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio
8\Common7\tools;C:\Program Files\Microsoft Visual Studio
8\Common7\ide;C:\Program Files\HTML Help Workshop;C:\Program Files\Microsoft
Visual Studio
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727;C:\Program
Files\Microsoft Visual Studio 8\;C:\Program Files\Microsoft Visual Studio
8\\SDK\v2.0\bin;C:\WINDOWS\SysWow64;;C:\WINDOWS\sy stem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Prog ram
Files\ATI Technologies\ATI Control Panel;C:\Program Files\Network
Associates\PGPcmdln;C:\Program Files\PKWare\PKZip25;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Support
Tools\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Microsoft
Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=XXX-XXXXXXX
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ
INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\include;C:\Program
Files\Microsoft Visual Studio 8\VC\atlmfc\include;C:\Program Files\Microsoft
Visual Studio 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual
Studio 8\SDK\v2.0\include
LIB=C:\Program Files\Microsoft Visual Studio 8\VC\lib;C:\Program
Files\Microsoft Visual Studio 8\VC\atlmfc\lib;C:\Program Files\Microsoft
Visual Studio 8\VC\atlmfc\lib\i386;C:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\lib;C:\Program Files\Microsoft Visual Studio 8\;C:\Program
Files\Microsoft Visual Studio 8\lib
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50 727;C:\Program
Files\Microsoft Visual Studio 8\VC\atlmfc\lib
LOGONSERVER=\\XXX-XXXXXXX
MSDevDir=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
PATH=C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program
Files\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program Files\Microsoft
Visual Studio 8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio
8\Common7\tools;C:\Program Files\Microsoft Visual Studio
8\Common7\ide;C:\Program Files\HTML Help Workshop;C:\Program Files\Microsoft
Visual Studio
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727;C:\Program
Files\Microsoft Visual Studio 8\;C:\Program Files\Microsoft Visual Studio
8\\SDK\v2.0\bin;C:\WINDOWS\SysWow64;;C:\WINDOWS\sy stem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Prog ram
Files\ATI Technologies\ATI Control Panel;C:\Program Files\Network
Associates\PGPcmdln;C:\Program Files\PKWare\PKZip25;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Support
Tools\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Microsoft
Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WS F;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 0 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=000a
ProgramFiles=C:\Program Files
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\STEPHE~1.DER\LOCALS~1\Temp
TMP=C:\DOCUME~1\STEPHE~1.DER\LOCALS~1\Temp
USERDOMAIN=XXX-XXXXXXX
USERNAME=HJHJHJHJHJHJHJHJHJHJ
USERPROFILE=C:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
WecVersionForRosebud.EC=2
windir=C:\WINDOWS
Command Lines Creating temporary file "c:\Documents and
Settings\HJHJHJHJHJHJHJHJHJHJ\My Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P0000292363824.rsp" with
contents
[
/Od /Os /D "WIN32" /D "_DEBUG" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD
/EHa /MDd /Yu"stdafx.h" /Fp"Debug\MathFuncsAssembly.pch" /FAs /Fa"Debug\\"
/Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Zi /clr /TP /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Sys tem.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Sys tem.Data.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Sys tem.XML.dll"

".\MathFuncsAssembly.cpp"

".\AssemblyInfo.cpp"
]
Creating command line "cl.exe @"c:\Documents and
Settings\HJHJHJHJHJHJHJHJHJHJ\My Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P0000292363824.rsp" /nologo
/errorReport:prompt"
Creating temporary file "c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P00002A2363824.rsp" with
contents
[
/Od /Os /D "WIN32" /D "_DEBUG" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /FD
/EHa /MDd /Yc"stdafx.h" /Fp"Debug\MathFuncsAssembly.pch" /FAs /Fa"Debug\\"
/Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Zi /clr /TP /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Sys tem.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Sys tem.Data.dll" /FU
"c:\Windows\Microsoft.NET\Framework\v2.0.50727\Sys tem.XML.dll"

".\Stdafx.cpp"
]
Creating command line "cl.exe @"c:\Documents and
Settings\HJHJHJHJHJHJHJHJHJHJ\My Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P00002A2363824.rsp" /nologo
/errorReport:prompt"
Creating command line "rc.exe /d "_UNICODE" /d "UNICODE" /fo"Debug/app.res"
".\app.rc""
Creating temporary file "c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P00002B2363824.rsp" with
contents
[
/OUT:"C:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development .NET\ManagedAssemblies\Debug\MathFuncsAssembly.dll "
/INCREMENTAL /DLL /MANIFEST
/MANIFESTFILE:"Debug\MathFuncsAssembly.dll.intermed iate.manifest" /DEBUG
/ASSEMBLYDEBUG /PDB:"c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development .NET\ManagedAssemblies\debug\MathFuncsAssembly.pdb "
/MACHINE:X86 /FIXED:No ".\Debug\AssemblyInfo.obj"

".\Debug\MathFuncsAssembly.obj"

".\Debug\Stdafx.obj"

".\Debug\app.res"
]
Creating command line "link.exe @"c:\Documents and
Settings\HJHJHJHJHJHJHJHJHJHJ\My Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P00002B2363824.rsp" /NOLOGO
/ERRORREPORT:PROMPT"
Creating temporary file "c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P00002C2363824.rsp" with
contents
[
/hashupdate /outputresource:"..\debug\MathFuncsAssembly.dll;#2" /manifest

".\Debug\MathFuncsAssembly.dll.intermediate.manife st"
]
Creating command line "mt.exe @"c:\Documents and
Settings\HJHJHJHJHJHJHJHJHJHJ\My Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\RS P00002C2363824.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\BA T00002D2363824.bat" with
contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\Debug\mt.dep"
]
Creating command line """c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\BA T00002D2363824.bat"""
Creating temporary file "c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\BA T00002E2363824.bat" with
contents
[
@echo off

cd ..\debug

regasm /silent /nologo "MathFuncsAssembly.dll"

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0050: Failed to register output. Please ensure you
have the appropriate permissions to modify the registry.

:VCEnd
]
Creating command line """c:\Documents and Settings\HJHJHJHJHJHJHJHJHJHJ\My
Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\BA T00002E2363824.bat"""
Output Window Compiling...
Stdafx.cpp
Compiling...
MathFuncsAssembly.cpp
AssemblyInfo.cpp
Generating Code...
Compiling resources...
Linking...
Embedding manifest...
Project : error PRJ0002 : Error result 1 returned from
'C:\WINDOWS\system32\cmd.exe'.
Results Build Time 0:04
Build log was saved at "file://c:\Documents and
Settings\HJHJHJHJHJHJHJHJHJHJ\My Documents\Development
..NET\ManagedAssemblies\MathFuncsAssembly\Debug\Bu ildLog.htm"
MathFuncsAssembly - 1 error(s), 0 warning(s)
May 23 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.