title: Can I safely delete the Temporary ASP.Net folder's contents?
body: <p>My application works fine whenever I run under <strong>VS 2010</strong>. When I upload it on a server and I run from <strong>IIS</strong> it gives <strong>Complie error : CS0433:</strong>
   'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\~\App_Web_dzybh5am.DLL' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\~\App_Web_znctdhjf.DLL'</p>
  
  <p>Error:</p>
  
  <pre><code>Line 146:    
  Line 147:    [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
  Line 148:    public class default_aspx : global::_Default, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
  Line 149:        
  Line 150:        private static bool @__initialized;
  </code></pre>
  
  <p>A quick search on google revealed that deleting those temporary files solved the problem. </p>
  
  <p>Is it useful to delete those temporary files, will it affect my application in future ?</p>
  
  <p>I just want to know should I delete all files from temporary folder.</p>