CS0016: Could not write to output file

Granting full control to IIS_IUSRS on c:\Windows\temp folder help solved the issue.

 

IIS_IUSRS windows temp folder access