title: Publish is producing .nuget package instead of a class library + dependencies
body: <p>I've created some C# class libraries which are intended to be used as dynamic plugins for a console application.  I thought I could use the Publish task in Visual Studio to create a folder containing a Release assembly + dependencies but instead, it is packaging the project assembly into a nuget package!</p>
  <p>How do I get a simple output of assemblies + dependencies out of my class library?</p>
  <p>Here is my .csproj:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;Project Sdk=&quot;Microsoft.NET.Sdk&quot;&gt;
  
      &lt;PropertyGroup&gt;
          &lt;TargetFramework&gt;net5.0&lt;/TargetFramework&gt;
          &lt;CopyLocalLockFileAssemblies&gt;true&lt;/CopyLocalLockFileAssemblies&gt;
          &lt;AutoGenerateBindingRedirects&gt;true&lt;/AutoGenerateBindingRedirects&gt;
          &lt;Platforms&gt;AnyCPU&lt;/Platforms&gt;
      &lt;/PropertyGroup&gt;
  
      &lt;ItemGroup&gt;
          &lt;ProjectReference Include=&quot;..\..\MyService.PluginBase\MyService.PluginBase.csproj&quot;&gt;
              &lt;Private&gt;false&lt;/Private&gt;
              &lt;ExcludeAssets&gt;runtime&lt;/ExcludeAssets&gt;
          &lt;/ProjectReference&gt;
      &lt;/ItemGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  <p>My publish settings are as follows:</p>
  <ul>
  <li>Configuration: Release | Any CPU</li>
  <li>Target Framework: net5.0</li>
  <li>Target Runtime: Portable</li>
  <li>Deployment mode: Framework-dependent</li>
  </ul>