Skip to content

Commit

Permalink
Ensure PDBs are included in package (#4821)
Browse files Browse the repository at this point in the history
  • Loading branch information
bording authored and dbelcham committed Jun 30, 2017
1 parent 98c9972 commit dbcfd48
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
11 changes: 11 additions & 0 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@
<!--<GeneratePackageOnBuild>true</GeneratePackageOnBuild>-->
</PropertyGroup>

<!-- Target is needed until we can enable GeneratePackageOnBuild again -->
<Target Name="IncludePDBsInPackage" BeforeTargets="_GetPackageFiles" Condition="'$(IncludeBuildOutput)' != 'false'">
<ItemGroup>
<None Include="$(OutputPath)\**\$(AssemblyName).pdb">
<Pack>true</Pack>
<PackagePath>lib\</PackagePath>
<Visible>false</Visible>
</None>
</ItemGroup>
</Target>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,4 @@
<Description>Acceptance testing framework for NServiceBus endpoints. This is an unsupported package.</Description>
</PropertyGroup>

<ItemGroup>
<None Include="$(OutputPath)\**\$(AssemblyName).pdb">
<Pack>true</Pack>
<PackagePath>lib\</PackagePath>
<Visible>false</Visible>
</None>
</ItemGroup>

</Project>
8 changes: 0 additions & 8 deletions src/NServiceBus.Core/NServiceBus.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@
<Description>The most popular open-source service bus for .NET</Description>
</PropertyGroup>

<ItemGroup>
<None Include="$(OutputPath)\**\$(AssemblyName).pdb">
<Pack>true</Pack>
<PackagePath>lib\</PackagePath>
<Visible>false</Visible>
</None>
</ItemGroup>

<ItemGroup>
<None Include="..\..\packaging\nuget\tools\init.ps1">
<Pack>true</Pack>
Expand Down

0 comments on commit dbcfd48

Please sign in to comment.