title: Unable to include .pdb files in NuGet package
body: <p>I'm trying to include the .pdb files in my NuGet packages to assist with debugging, but I can't seem to get it to work.  I've added the following line to my .csproj file as recommended.  It's in the same PropertyGroup as AssemblyName, OutputType, TargetFrameworkVersion, etc. </p>
  
  <pre><code>&lt;AllowedOutputExtensionsInPackageBuildOutputFolder&gt;$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb&lt;/AllowedOutputExtensionsInPackageBuildOutputFolder&gt;
  </code></pre>
  
  <p>I'm using:</p>
  
  <ul>
  <li>VS 2017 v15.5.6 </li>
  <li>NuGet v4.6.2</li>
  <li>Target framework: .NET Framework 4.5 (Shouldn't think this matters, but won't hurt saying so)</li>
  </ul>
  
  <p>And have the following post build event:</p>
  
  <pre><code>nuget pack $(ProjectPath) -Prop Configuration=$(ConfigurationName)
  nuget add $(ProjectName).@(VersionNumber).nupkg -source %PACKAGES_FOLDER%
  </code></pre>
  
  <p>I was using a nuspec file to get them in there, but this was messing with our build server.</p>
  
  <p>All help appreciated.</p>
  
  <p>Cheers
  Craig</p>