|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>net461</TargetFramework> |
| 5 | + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
| 6 | + <Authors>Chris Crutchfield, Andrew Arnott</Authors> |
| 7 | + <Company>andarno</Company> |
| 8 | + <Description>Cake wrapper for Nerdbank.GitVersioning. Stamps your assemblies with semver 2.0 compliant git commit specific version information and provides NuGet versioning information as well.</Description> |
| 9 | + <Copyright>Copyright © Andrew Arnott</Copyright> |
| 10 | + <PackageTags>git commit versioning version assemblyinfo</PackageTags> |
| 11 | + <PackageProjectUrl>http://github.com/aarnott/Nerdbank.GitVersioning</PackageProjectUrl> |
| 12 | + <SignAssembly>false</SignAssembly> |
| 13 | + <!-- We include the whole OutputPath in this tools package. --> |
| 14 | + <IncludeBuildOutput>false</IncludeBuildOutput> |
| 15 | + <TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage> |
| 16 | + </PropertyGroup> |
| 17 | + |
| 18 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
| 19 | + <DocumentationFile>C:\git\Nerdbank.GitVersioning\src\..\bin\Cake.GitVersioning\Debug\net461\Cake.GitVersioning.xml</DocumentationFile> |
| 20 | + </PropertyGroup> |
| 21 | + |
| 22 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
| 23 | + <DocumentationFile>C:\git\Nerdbank.GitVersioning\src\..\bin\Cake.GitVersioning\Release\net461\Cake.GitVersioning.xml</DocumentationFile> |
| 24 | + </PropertyGroup> |
| 25 | + |
| 26 | + <!-- This is a tools package and should express no dependencies. --> |
| 27 | + <ItemDefinitionGroup> |
| 28 | + <ProjectReference> |
| 29 | + <PrivateAssets>all</PrivateAssets> |
| 30 | + </ProjectReference> |
| 31 | + <PackageReference> |
| 32 | + <PrivateAssets>all</PrivateAssets> |
| 33 | + </PackageReference> |
| 34 | + </ItemDefinitionGroup> |
| 35 | + |
| 36 | + <ItemGroup> |
| 37 | + <PackageReference Include="Cake.Core" Version="0.26.0" /> |
| 38 | + <PackageReference Include="DotNetMDDocs" Version="0.111.0" Condition=" '$(GenerateMarkdownApiDocs)' == 'true' " /> |
| 39 | + <PackageReference Include="Nerdbank.GitVersioning.LKG" Version="1.6.20-beta-gfea83a8c9e" /> |
| 40 | + </ItemGroup> |
| 41 | + |
| 42 | + <ItemGroup> |
| 43 | + <ProjectReference Include="..\NerdBank.GitVersioning\NerdBank.GitVersioning.csproj" /> |
| 44 | + </ItemGroup> |
| 45 | + |
| 46 | + <Target Name="PackBuildOutputs" DependsOnTargets="SatelliteDllsProjectOutputGroup;DebugSymbolsProjectOutputGroup"> |
| 47 | + <ItemGroup> |
| 48 | + <TfmSpecificPackageFile Include="$(OutputPath)\**\*" Exclude="$(OutputPath)\**\*.xml;$(OutputPath)\**\*.pdb;$(OutputPath)\**\Cake.Core.dll"> |
| 49 | + <PackagePath>lib\$(TargetFramework)\</PackagePath> |
| 50 | + </TfmSpecificPackageFile> |
| 51 | + </ItemGroup> |
| 52 | + </Target> |
| 53 | + |
| 54 | + <Target Name="SetNuSpecProperties" BeforeTargets="GenerateNuspec" DependsOnTargets="GetBuildVersion"> |
| 55 | + <PropertyGroup> |
| 56 | + <PackageLicenseUrl>https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/$(GitCommitIdShort)/LICENSE.txt</PackageLicenseUrl> |
| 57 | + </PropertyGroup> |
| 58 | + </Target> |
| 59 | +</Project> |
0 commit comments