/MANIFEST (Create Side-by-Side Assembly Manifest)
Collapse the table of content
Expand the table of content
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. ArchiveDisclaimer

/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 Manifest Files Reference.

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

  1. Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Expand the Configuration Properties node.

  3. Expand the Linker node.

  4. Select the Manifest File property page.

  5. Modify the Generate Manifest property.

To set this linker option programmatically

© 2016 Microsoft