/FU (Name Forced #using File)
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

/FU (Name Forced #using File)



Specifies the metadata file to reference in this compilation.


/FU gives you a compiler option alternative to passing a file name to #using in source code.

Specify one file per compiler option.

See /clr (Common Language Runtime Compilation) for information on how to create an assembly or module for the common language runtime.

To set this compiler 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 C/C++ folder.
  3. Click the Advanced property page.
  4. Modify the Force #using property.

To set this compiler option programmatically

See ForcedUsingFiles Property.

See Also

Output-File (/F) Options | Compiler Options | Setting Compiler Options

© 2015 Microsoft