Fatal Error C1107

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Fatal Error C1107.

could not find assembly 'file': please specify the assembly search path using /AI or by setting the LIBPATH environment variable

A metadata file was passed to a #using directive that the compiler was unable to locate.

LIBPATH, which is described in the topic for #using, and the /AI compiler option allow you to specify directories in which the compiler will look for referenced metadata files.

Show: