This documentation is archived and is not being maintained.

Compiler Error CS0013 

Error Message

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

The .NET Framework common language runtime failed to emit metadata. Check to make sure that the path is correct and that the disk is not full. If the problem persists, you may need to repair or reinstall Visual Studio and/or the .NET Framework.