Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use GitVersion to stamp version numbers into assemblies. https://github.com/GitTools/GitVersion Use GitVersioning variables to set NuGet package version properties. Use Mainline versioning policy in GitVersion v4.0+. - Bump next version to 1.2.x for easier reference. Only run `GitVersionTask` during Windows builds. Failure more on Linux: ``` 2018-12-04T18:02:22.6601166Z "/home/vsts/work/1/s/ServerHost.sln" (default target) (1) -> 2018-12-04T18:02:22.6601998Z "/home/vsts/work/1/s/ServerHost/ServerHost.csproj" (default target) (2) -> 2018-12-04T18:02:22.6602670Z (WriteVersionInfoToBuildLog target) -> 2018-12-04T18:02:22.6604817Z /home/vsts/.nuget/packages/gitversiontask/4.0.1-beta1-50/build/functionality/GitVersionBuild.targets(6,5): error MSB4175: The task factory "UtilPack.NuGet.MSBuild.NuGetTaskRunnerFactory" could not be loaded from the assembly "/home/vsts/.nuget/packages/utilpack.nuget.msbuild/2.9.1/build/net46/UtilPack.NuGet.MSBuild.dll". Could not load type of field 'UtilPack.NuGet.BoundRestoreCommandUser:_clientPolicyContext' (8) due to: Could not resolve type with token 0100006c from typeref (expected class 'NuGet.Packaging.Signing.ClientPolicyContext' in assembly 'NuGet.Packaging, Version=4.9.0.6, Culture=neutral, PublicKeyToken=31bf3856ad364e35') assembly:NuGet.Packaging, Version=4.9.0.6, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:NuGet.Packaging.Signing.ClientPolicyContext member:(null) [/home/vsts/work/1/s/ServerHost/ServerHost.csproj] ```
- Loading branch information