When creating a C # class library (.NET 4.0) using VS 2015, I get an error: PE image does not contain metadata.
I tried obvious things that don't help: 1. execute a clean, one-piece solution 2. REstart Visual Studio and rebuild everything
it is strange that even though the DLL builds and works, this annoying error still remains in the assembly exit error window.
Full error: Error reading c: /XX/xxx/DEBUG/mylib.dll: the PE image does not contain metadata.
Any ideas?
EDIT: after restarting the computer, the error disappeared. This is actually not a solution, so I did not answer my question, but at least it works around an annoying error.
source
share