title: ENC1003 C# Changes made in project will not be applied while the application is running
body: <p>I am getting this incredibly annoying warning for every C# file in my ASP.NET Core project when I debug it after hitting F5:</p>
  
  <p><a href="https://i.stack.imgur.com/hn52G.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hn52G.png" alt="Warning screenshot"></a></p>
  
  <p>Because this error appears only during runtime (not during build), I can't even suppress it using the "Suppress warnings" box in the project properties.  I've tried putting 1003 and ENC1003 in there and it still appears, cluttering up my warnings window.  Does anyone know why this thing is appearing and how I can get rid of it?</p>
  
  <p><strong>UPDATE:</strong> It doesn't fix the fundamental problem which is that the warning is generated in the first place, but I've found a way to suppress it.  Create a <code>GlobalSuppressions.cs</code> file at the project root, and add the line:</p>
  
  <pre><code>[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(null, "ENC1003")]
  </code></pre>
  
  <p>Related Github issue: <a href="https://github.com/aspnet/AspNetCore/issues/13284" rel="noreferrer">https://github.com/aspnet/AspNetCore/issues/13284</a></p>