mirror of https://github.com/AMT-Cheif/Stylet.git
Don't include non-portable pdbs in snupkg
This commit is contained in:
parent
8fbad6721a
commit
6aa2ae5edc
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue