Don't include non-portable pdbs in snupkg

This commit is contained in:
Antony Male 2020-11-28 13:27:49 +00:00
parent 8fbad6721a
commit 6aa2ae5edc
1 changed files with 1 additions and 5 deletions

View File

@ -23,16 +23,12 @@
<!-- Just embed all sources in the PDB: snupkg files don't support bare .cs files, and SourceLink is annoying -->
<!-- We set IncludeSymbols in the Rakefile, because we don't want it to apply to Stylet.Start -->
<!-- Note that stack traces don't work on < net471, but snupkg only supports portable, so nothing we can do -->
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedAllSources>true</EmbedAllSources>
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
<!-- Stack traces on < net471 don't work with portable -->
<DebugType>full</DebugType>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
<PackageReference Include="System.Drawing.Common" Version="4.6.0" />
</ItemGroup>