472,782 Members | 1,280 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,782 software developers and data experts.

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 6460

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

Similar topics

1
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
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
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
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
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
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
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
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
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
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.