-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathGitVersion.proj_
18 lines (16 loc) · 1012 Bytes
/
GitVersion.proj_
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Project>
<PropertyGroup>
<Temp Condition="'$(Temp)' == ''">/tmp</Temp>
<BaseIntermediateOutputPath>$(Temp)/$(SolutionName)/GitVersion/obj</BaseIntermediateOutputPath>
<OutputPath>$(Temp)/$(SolutionName)/GitVersion/bin</OutputPath>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)/Microsoft.Common.CurrentVersion.targets" />
<Import Project="$(BaseIntermediateOutputPath)/$(MSBuildThisFileName)$(MSBuildThisFileExtension).nuget.g.targets" Condition="Exists('$(BaseIntermediateOutputPath)/$(MSBuildThisFileName)$(MSBuildThisFileExtension).nuget.g.targets')" />
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="5.3.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<Target Name="Build" DependsOnTargets="GetVersion;WriteVersionInfoToBuildLog" Returns="$(GitVersion_NuGetVersion)" />
</Project>