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 did not emit metadata. Check to make sure that the path is correct and that the disk is not full. If the problem persists, you may have to repair or reinstall Visual Studio and/or the .NET Framework.