473,503 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PRJ0002 Error Building Class Library

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
0 6566

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4270
by: mccoyn | last post by:
I'm porting an old project to use .NET. When I try to link in a static library (.lib) that has a single managed class in it. I get the following errors: LINK : error LNK2020: unresolved token...
0
2248
by: Rudy Ray Moore | last post by:
Can someone explain the below error. FYI, I pass "/test" and "/VERBOSE" to link.exe Thanks, Rudy ------ Build started: Project: A GUI SLAMEN, Configuration: Release Win32 ------
3
2897
by: Simon Jefferies | last post by:
Hello, I am trying to use a Managed C++ .NET (DLL) Class library within my Managed C++ .NET forms application. I have both projects in the same solution and have the class library under my...
2
3122
by: Marco | last post by:
I'm getting the following error when linking a Visual C++ .NET 2003 program. What can be the reason? It worked yesterday on the same machine. Linking... link: too many arguments Try `link...
0
2472
by: crazyIvan via DotNetMonster.com | last post by:
Here is the situation, all my code on my machine was working fine. I was trying to make some game shaders work properly and installed the latest version of the DirectX SDK. Now no matter what I...
2
1751
by: tony | last post by:
Hello!! I use VS 2003 and C# for all class library except MeltPracCommon.dll which is C++.NET The problem is that I get these warnings when building the exe file and use my class libraries....
3
1739
by: tony | last post by:
Hello!! I use VS 2003 and C# for all class library except MeltPracCommon.dll which is C++.NET The problem is that I get these warnings when building the exe file and use my class libraries....
0
4716
by: mchuc7719 | last post by:
Hello, I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only get errors. Before I to run the command line, I open in notepad the .vbproj and I was add the next line: ...
1
4582
by: SQACPP | last post by:
I have an error when compiling a simple form project... I just start a new Form project and add a new PictureBox in a form(or anything that generate the .resx file) After that when compiling I...
0
7198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5570
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.