Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Embedding Manifest - error

468 views
Skip to first unread message

BrandonM

unread,
Mar 8, 2006, 6:51:27 PM3/8/06
to
Hello,
In VC++ whenever I try to compile using the Manifest option set to Yes, it
gets all the way to the link stage where it fails. I tried this using a
simple console app that does nothing but run and quit to make sure it wasn't
any code related issue.

In another forum, a member said this was a known issue, but couldn't point
me to a location for the issue/fix. He said he simply updated windows, I've
done that but it doesn't help. I've even installed a fresh copy of windows,
updated to the latest hotfixes/service pack, install VS2005 and tried to
compile, I get the same error. I tried reinstalling VS2005 and reinstalling
.NET Framework 2.0. The WinSxS directory does exist and has the vc.....
files in the ....CRT subdirectory. My system drive is D:. I dunno if that
makes any difference.

If I set Embed manifest = No, then it will compile and run. However, I'd
rather it work like it was intended.

I've left VS on the default settings.

Any ideas, suggestions or instructions on how to fix this would be greatly
appreciated. I couldnt' find anything on google

/// Here is the output:
Compiling manifest to resources...
Linking...
LINK : C:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\Debug\BrandonTest1.exe not found or not built by
the last incremental link; performing full link
Embedding manifest...
Project : error PRJ0002 : Error result 1 returned from
'd:\windows\system32\cmd.exe'.
Build log was saved at "file://c:\Profiles\Brandon\My Documents\Visual
Studio 2005\Projects\BrandonTest1\BrandonTest1\Debug\BuildLog.htm"
BrandonTest1 - 1 error(s), 0 warning(s)


///Here is the build log
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000133843400.rsp" with
contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm
/EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\BrandonTest1.pch" /Fo"Debug\\"
/Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\BrandonTest1.cpp"
]
Creating command line "cl.exe @"c:\Profiles\Brandon\My Documents\Visual
Studio 2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000133843400.rsp"
/nologo /errorReport:prompt"
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000233843400.rsp" with
contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm
/EHsc /RTC1 /MDd /Yc"stdafx.h" /Fp"Debug\BrandonTest1.pch" /Fo"Debug\\"
/Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\stdafx.cpp"
]
Creating command line "cl.exe @"c:\Profiles\Brandon\My Documents\Visual
Studio 2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000233843400.rsp"
/nologo /errorReport:prompt"
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\TMP00000333843400.tmp" with
contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */
".\\Debug\\BrandonTest1.exe.embed.manifest"
]
Creating command line "rc.exe
/fo".\Debug\BrandonTest1.exe.embed.manifest.res" "c:\Profiles\Brandon\My
Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\TMP00000333843400.tmp""
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000433843400.rsp" with
contents
[
/OUT:"C:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\Debug\BrandonTest1.exe" /INCREMENTAL /MANIFEST
/MANIFESTFILE:"Debug\BrandonTest1.exe.intermediate.manifest" /DEBUG
/PDB:"c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\debug\BrandonTest1.pdb" /SUBSYSTEM:CONSOLE
/MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib

".\Debug\BrandonTest1.obj"

".\Debug\stdafx.obj"

".\Debug\BrandonTest1.exe.embed.manifest.res"
]
Creating command line "link.exe @"c:\Profiles\Brandon\My Documents\Visual
Studio 2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000433843400.rsp"
/NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000533843400.rsp" with
contents
[
/out:".\Debug\BrandonTest1.exe.embed.manifest" /notify_update /manifest

".\Debug\BrandonTest1.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Profiles\Brandon\My Documents\Visual
Studio 2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000533843400.rsp"
/nologo"
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\BAT00000633843400.bat" with
contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\Debug\mt.dep"
]
Creating command line """c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\BAT00000633843400.bat"""
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\TMP00000733843400.tmp" with
contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */
".\\Debug\\BrandonTest1.exe.embed.manifest"
]
Creating command line "rc.exe
/fo".\Debug\BrandonTest1.exe.embed.manifest.res" "c:\Profiles\Brandon\My
Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\TMP00000733843400.tmp""
Creating temporary file "c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000833843400.rsp" with
contents
[
/OUT:"C:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\Debug\BrandonTest1.exe" /INCREMENTAL /MANIFEST
/MANIFESTFILE:"Debug\BrandonTest1.exe.intermediate.manifest" /DEBUG
/PDB:"c:\Profiles\Brandon\My Documents\Visual Studio
2005\Projects\BrandonTest1\debug\BrandonTest1.pdb" /SUBSYSTEM:CONSOLE
/MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib

".\Debug\BrandonTest1.obj"

".\Debug\stdafx.obj"

".\Debug\BrandonTest1.exe.embed.manifest.res"
]
Creating command line "link.exe @"c:\Profiles\Brandon\My Documents\Visual
Studio 2005\Projects\BrandonTest1\BrandonTest1\Debug\RSP00000833843400.rsp"
/NOLOGO /ERRORREPORT:PROMPT"

ash.mc...@gmail.com

unread,
Mar 23, 2006, 11:02:18 AM3/23/06
to
Brandon,

Did you get any resolution to the problem? I think i'm having exactly
the same problem. It fails in the manifest, complaining about: -

mt.exe:Command Line error c1010007:Unexpected/Unknown argument
"/notify_update"

Any ideas anyone?

Thanks!
Ash

Spakowski

unread,
Apr 18, 2006, 9:40:44 AM4/18/06
to

When i shifted from Visual Studio 2003 to 2005 I faced the same problem
initially all you have to do it go the
Project Properties, under Manifest Tools click the Input and Output
menu

You have to just change the Embedded Manifest option from yes to No.
It worked for me and It should Work for you too

Herman Jones

unread,
May 31, 2006, 9:43:02 AM5/31/06
to
I, too ran up against this problem and found that it was related to the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\AutoRun registry
setting. Try renaming the "AutoRun" registry setting (I used "NoAutoRun")
and it should give you a clean build.
0 new messages