/NOASSEMBLY (Create a MSIL Module)
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

/NOASSEMBLY (Create a MSIL Module)


The /NOASSEMBLY option tells the linker to create an image for the current output file without a .NET Framework assembly.

By default, an assembly is created. The /clr compiler option can also specify not to create an assembly.

Other linker options that affect assembly generation are:

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Advanced property page.
  4. Modify the Turn Off Assembly Generation property.

To set this linker option programmatically

See TurnOffAssemblyGeneration Property.

See Also

Setting Linker Options | Linker Options

© 2015 Microsoft