C# Error CS1619 – Cannot create temporary file — {0}

C# Error

CS1619 – Cannot create temporary file — {0}

Reason for the Error & Solution

Cannot create temporary file ‘filename’ — reason

The compiler was unable to create a temporary file for the given reason (for example, the disk is full).