Skip to content

Commit 18610b0

Browse files
committed
Fix packaging
1 parent 5fd5b13 commit 18610b0

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

src/NerdBank.GitVersioning/NerdBank.GitVersioning.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<TargetFrameworks>netcoreapp1.0;net45</TargetFrameworks>
44
<GenerateDocumentationFile>true</GenerateDocumentationFile>
55
<DebugType>Full</DebugType>
6+
<IsPackable>false</IsPackable>
7+
<PackageId>Nerdbank.GitVersioning.Core</PackageId>
68
</PropertyGroup>
79
<ItemGroup>
810
<PackageReference Include="LibGit2Sharp" Version="0.24.7-g9fca61fdda" PrivateAssets="None" />

src/Nerdbank.GitVersioning.Tasks/Nerdbank.GitVersioning.Tasks.csproj

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard1.3;net45</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp1.0;net45</TargetFrameworks>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
55

6-
<id>Nerdbank.GitVersioning</id>
6+
<PackageId>Nerdbank.GitVersioning</PackageId>
77
<title>Nerdbank.GitVersioning</title>
88
<authors>Andrew Arnott</authors>
99
<owners>andarno</owners>
1010
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1111
<PackageProjectUrl>http://github.com/aarnott/Nerdbank.GitVersioning</PackageProjectUrl>
1212
<description>Stamps your assemblies with semver 2.0 compliant git commit specific version information and provides NuGet versioning information as well.</description>
13-
<summary>Stamps your assemblies with semver 2.0 compliant git commit specific version information and provides NuGet versioning information as well.</summary>
1413
<PackageTags>git commit versioning version assemblyinfo</PackageTags>
1514

1615
<NoPackageAnalysis>true</NoPackageAnalysis>
@@ -32,11 +31,17 @@
3231

3332
<Target Name="CollectRuntimeOutputs" BeforeTargets="_GetPackageFiles">
3433
<ItemGroup>
35-
<Content Include="$(OutputPath)net45\*.dll;$(OutputPath)net45\*.dll.config">
34+
<Content Include="$(OutputPath)net45\*.dll;$(OutputPath)net45\*.dll.config"
35+
Exclude="$(OutputPath)net45\Microsoft.Build.*.dll">
3636
<Pack>true</Pack>
3737
<PackagePath>build\MSBuildFull\</PackagePath>
3838
</Content>
39-
<Content Include="$(OutputPath)netstandard1.3\*.dll;$(OutputPath)*.json">
39+
<Content Include="$(OutputPath)netcoreapp1.0\LibGit2Sharp.dll*"
40+
Include="$(OutputPath)netcoreapp1.0\MSBuildExtensionTask.dll"
41+
Include="$(OutputPath)netcoreapp1.0\Nerdbank.GitVersioning.*dll"
42+
Include="$(OutputPath)netcoreapp1.0\Newtonsoft.Json.dll"
43+
Include="$(OutputPath)netcoreapp1.0\Validation.dll"
44+
>
4045
<Pack>true</Pack>
4146
<PackagePath>build\MSBuildCore\</PackagePath>
4247
</Content>

0 commit comments

Comments
 (0)