-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.targets
20 lines (17 loc) · 1007 Bytes
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<Project>
<PropertyGroup>
<ParentDirectoryBuildTargets>$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))</ParentDirectoryBuildTargets>
</PropertyGroup>
<Import Project="$(ParentDirectoryBuildTargets)" Condition="Exists('$(ParentDirectoryBuildTargets)')"/>
<Target Name="Versioning" BeforeTargets="MinVer">
<PropertyGroup Label="Build">
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
<!-- Tag your repository with the semantic version e.g. '1.0.0' to version all NuGet packages. If you have
multiple NuGet packages in your solution and want to version them separately, then uncomment this line
and tag your repository with the name of the package followed by the semantic version e.g.
'PackageName-1.0.0'. -->
<!--<MinVerTagPrefix>$(PackageId)-</MinVerTagPrefix>-->
<MinVerVerbosity>normal</MinVerVerbosity>
</PropertyGroup>
</Target>
</Project>