Edit

Share via


Linker Tools Error LNK2027

unresolved module reference 'module'

A file passed to the linker has a dependency on a module that was neither specified with /ASSEMBLYMODULE nor passed directly to the linker.

To resolve LNK2027, do one of the following:

  • Do not pass to the linker the file that has the module dependency.

  • Specify the module with /ASSEMBLYMODULE.

  • If the module is a safe .netmodule, pass the module directly to the linker.

For more information, see /ASSEMBLYMODULE (Add a MSIL Module to the Assembly) and .netmodule Files as Linker Input.