|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
/MANIFEST (Create Side-by-Side Assembly Manifest)
/MANIFEST specifies that the linker should create a side-by-side manifest file. For more information on manifest files, see.
The default is /MANIFEST.
If /MANIFEST is not specified and the linker is passed /MANIFESTDEPENDENCY comments, a manifest file will be created. A manifest file will not be created if /MANIFEST:NO is specified.
If you specify /MANIFEST, the name of the manifest file will be the same as the name of your output file, with .manifest appended to the file name. For example, if your output file name is MyFile.exe, the manifest file name will be MyFile.exe.manifest. If you specify /MANIFESTFILE:name, the name of the manifest will be what you specify in name.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see.
Expand the Configuration Properties node.
Expand the Linker node.
Select the Manifest File property page.
Modify the Generate Manifest property.
To set this linker option programmatically