I'm using Visual Studio 2005 C++ compiler/linker.
My build had been working, but builds of both debug and release versions of my project now exit with an error when trying to embed the manifest into the output file.
When I change my Project settings to not embed the Manifest information, then it goes through OK, but I want the Manifest embedded. How can I fix this And what may have caused this
I've found this proposed solution. But it doesn't work for me.
This config can be found in Visual Studio's Options dialog (off the Tools menu). It's in the Projects and Solutions -> VC++ Directories page. This turns out to configure settings used both by VS and also by the command-line VCBuild. (I think VS just launches VCBuild to build your project.)
This options page has a row of buttons on the right hand side. One of these is a tick. Clicking that checks all of the configured items for validity. When I clicked this, it complained about three items:
%SystemRoot%\System32
%SystemRoot%
%SystemRoot%\System32\wbem
Those entries look out of place. They're using the %xxx% variable syntax you can use from the command line. But all the other entries use the $(xxx) convention. So I changed the entries to:
$(SystemRoot)\System32
$(SystemRoot)
$(SystemRoot)\System32\wbem
I don't see the "VC++ Directories page" in the dialog as described.
It seems to be a path problem, but how can I get VS to find the cmd.exe