This documentation is archived and is not being maintained.

Compiler Error CS0013

Unexpected error writing metadata to file 'file' — 'description'

The .NET Framework common language runtime failed to emit metadata. This could be a number of problems:

  • Disk full.
  • Corrupt Visual Studio installation; reinstall Visual Studio.
  • Corrupt common language runtime; reinstall the common language runtime.
Show: