If the following error is generated after deployed in IIS
CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET
This could be a fix:
Step 1: Give modify permission to IIS_IUSRS on "c:\Windows\Microsoft.NET\Framework64\v4.x.xxxxx\Temporary ASP.NET" folder
Step 2: Give modify permission to IIS_IUSRS on "c:\Windows\Temp" folder
Step 3: Restart IIS ( may required)