Edit

Share via


/NOASSEMBLY (Create a MSIL Module)

/NOASSEMBLY

Remarks

The /NOASSEMBLY option tells the linker to create an image for the current output file without a .NET Framework assembly. An MSIL output file without an assembly manifest is called a module.

By default, an assembly is created. You can also use the /LN (Create MSIL Module) compiler option to create a module.

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 Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > Linker > Advanced property page.

  3. Modify the Turn Off Assembly Generation property.

To set this linker option programmatically

See also

MSVC linker reference
MSVC Linker Options