错误 C1107Fatal Error C1107

找不到程序集 "file":请使用/AI 或通过设置 LIBPATH 环境变量指定程序集搜索路径could not find assembly 'file': please specify the assembly search path using /AI or by setting the LIBPATH environment variable

一个元数据文件被传递到编译器无法找到的 #using 指令中。A metadata file was passed to a #using directive that the compiler was unable to locate.

LIBPATH (在主题中进行了介绍 #using )和 /AI 编译器选项允许你指定编译器将在其中查找引用的元数据文件的目录。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.