Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
/FU (Name Forced #using File)

/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