`
Then add this to your project's post-build event:
"$(DevEnvDir)..\..\SDK\v2.0\bin\mt.exe" -manifest "$(ProjectDir)$(TargetName).exe.manifest" –outputresource:"$(TargetDir)$(TargetFileName)";#1
As long as the manifest is included in your project, this should work with little to no adjustments.
You do not need to have the file copy on build, just store it with the rest of the project and when the application is complied it will include the manifest file.
Gathered from: Kasracer (KrisSiegel.com) URL Source: http://www.vbforums.com/showthread.php?t=510403