Export (0) Print
Expand All
Expand Minimize

Compiler Error C2567

unable to open metadata in 'file', file may have been deleted or moved

A metadata file that was referenced in source (with #using) was not found in the same directory by the compiler back end process as it was by the compiler front end process. See The #using Directive for more information.

C2567 could be caused if you compile with /c on one machine and then attempt a link-time code generation on another machine. For more information, see /LTCG (Link-time Code Generation)).

It might also indicate that your computer had no more memory.

To correct this error, make sure that the metadata file is in the same directory location for all phases of the build process.

Community Additions

© 2015 Microsoft