File tree Expand file tree Collapse file tree 1 file changed +11
-25
lines changed
Expand file tree Collapse file tree 1 file changed +11
-25
lines changed Original file line number Diff line number Diff line change 1010 <PackageTags >git commit versioning version assemblyinfo</PackageTags >
1111 <PackageProjectUrl >http://github.com/aarnott/Nerdbank.GitVersioning</PackageProjectUrl >
1212 <SignAssembly >false</SignAssembly >
13+
14+ <!-- We include the whole OutputPath in this tools package. -->
15+ <IncludeBuildOutput >false</IncludeBuildOutput >
16+ <TargetsForTfmSpecificContentInPackage >$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage >
1317 </PropertyGroup >
1418
1519 <!-- This is a tools package and should express no dependencies. -->
3135 <ProjectReference Include =" ..\NerdBank.GitVersioning\NerdBank.GitVersioning.csproj" />
3236 </ItemGroup >
3337
34- <ItemGroup >
35- <Content Include =" $(OutputPath)\NerdBank.GitVersioning.dll" >
36- <PackagePath >lib\$(TargetFramework)\</PackagePath >
37- <Pack >true</Pack >
38- </Content >
39-
40- <Content Include =" $(OutputPath)\LibGit2Sharp.dll" >
41- <PackagePath >lib\$(TargetFramework)</PackagePath >
42- <Pack >true</Pack >
43- </Content >
44- <Content Include =" $(OutputPath)\lib\**\*" >
45- <PackagePath >lib\$(TargetFramework)\lib</PackagePath >
46- <Pack >true</Pack >
47- </Content >
48-
49- <Content Include =" $(OutputPath)\Newtonsoft.Json.dll" >
50- <PackagePath >lib\$(TargetFramework)</PackagePath >
51- <Pack >true</Pack >
52- </Content >
53-
54- <Content Include =" $(OutputPath)\Validation.dll" >
55- <PackagePath >lib\$(TargetFramework)</PackagePath >
56- <Pack >true</Pack >
57- </Content >
58- </ItemGroup >
38+ <Target Name =" PackBuildOutputs" DependsOnTargets =" SatelliteDllsProjectOutputGroup;DebugSymbolsProjectOutputGroup" >
39+ <ItemGroup >
40+ <TfmSpecificPackageFile Include =" $(OutputPath)\**\*" Exclude =" $(OutputPath)\**\*.xml;$(OutputPath)\**\*.pdb;$(OutputPath)\**\Cake.Core.dll" >
41+ <PackagePath >lib\$(TargetFramework)\</PackagePath >
42+ </TfmSpecificPackageFile >
43+ </ItemGroup >
44+ </Target >
5945
6046 <Target Name =" SetNuSpecProperties" BeforeTargets =" GenerateNuspec" DependsOnTargets =" GetBuildVersion" >
6147 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments