title: disable web.config generation for asp.net core 3.1 project
body: <p>The <code>dotnet publish</code> command for my ASP.NET Core 3.1 project creates a <code>web.config</code> file in my <code>publish/</code> directory. I don't want this file to be generated (or copied to that folder, at least) - it is never to be used with IIS at all.</p>
  
  <p>When I took a look at the command output with verbosity increased, I found the following text:</p>
  
  <pre><code>   Target "_TransformWebConfig" in file "C:\Program Files\dotnet\sdk\3.1.200\Sdks\Microsoft.NET.Sdk.Publish\targets\TransformTargets\Microsoft.NET.Sdk.Publish.TransformFiles.targets" from project "C:\repos\reportweb\reportweb\reportweb.csproj" (target "_AspNetCoreProjectSystemPostPublish" depends on it):
         Using "TransformWebConfig" task from assembly "C:\Program Files\dotnet\sdk\3.1.200\Sdks\Microsoft.NET.Sdk.Publish\targets\..\tools\netcoreapp2.1\Microsoft.NET.Sdk.Publish.Tasks.dll".
         Task "TransformWebConfig"
           Configuring the following project for use with IIS: 'C:\repos\reportweb\reportweb\bin\Release\netcoreapp3.1\linux-x64\publish\'
           Updating web.config at 'C:\repos\reportweb\reportweb\bin\Release\netcoreapp3.1\linux-x64\publish\web.config'
           Configuring project completed successfully
         Done executing task "TransformWebConfig".
     Done building target "_TransformWebConfig" in project "reportweb.csproj".
  </code></pre>
  
  <p>Is it somehow possible to configure my project to skip the <code>_TransformWebConfig</code> Target or <code>TransformWebConfig</code> Task - or to use another way to skip the generation? I know I could make MSBuild delete the file afterwards, but having this disabled seems less <em>hacky</em> to me.</p>