Skip to content

Commit fa10103

Browse files
committed
Use new mechanism to include PDBs in package
1 parent 12c6de3 commit fa10103

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

Directory.Build.targets

-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22

33
<PropertyGroup>
44
<PublicSign Condition=" '$(AssemblyOriginatorKeyFile)' != '' and '$(OS)' != 'Windows_NT' ">true</PublicSign>
5-
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);IncludePDBsInPackage</TargetsForTfmSpecificContentInPackage>
65
</PropertyGroup>
76

8-
<Target Name="IncludePDBsInPackage">
9-
<ItemGroup>
10-
<TfmSpecificPackageFile Include="$(OutputPath)\$(AssemblyName).pdb" PackagePath="lib/$(TargetFramework)" />
11-
</ItemGroup>
12-
</Target>
13-
147
</Project>

LibGit2Sharp/LibGit2Sharp.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<PackageTags>libgit2 git</PackageTags>
1010
<PackageProjectUrl>https://github.com/libgit2/libgit2sharp/</PackageProjectUrl>
1111
<Authors>LibGit2Sharp contributors</Authors>
12+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
1213
<SignAssembly>true</SignAssembly>
1314
<AssemblyOriginatorKeyFile>..\libgit2sharp.snk</AssemblyOriginatorKeyFile>
1415
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

0 commit comments

Comments
 (0)