From 6f41165853278914d1a28d7f325ebe04ab78ac07 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Oct 2021 15:36:28 -0700 Subject: [PATCH] [release/6.0] Tweak workload build to use _GenerateMsiVersionString target (#60695) * Tweak workload build to use _GenerateMsiVersionString target Replaces GenerateVersions that wasn't quite accurate enough for what we need * Pulled in arcade target that will be removed at a later date * More tweaks * Forget dependsontargets Co-authored-by: Steve Pfister --- src/workloads/workloads.csproj | 58 ++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/src/workloads/workloads.csproj b/src/workloads/workloads.csproj index a25e1d6b867be..d6495e0b535b9 100644 --- a/src/workloads/workloads.csproj +++ b/src/workloads/workloads.csproj @@ -48,7 +48,7 @@ - + @@ -94,14 +94,6 @@ - - - - - - - - - - + + + <_MajorVersion>$([System.Version]::Parse('$(AssemblyVersion)').Major) + <_MinorVersion>$([System.Version]::Parse('$(AssemblyVersion)').Minor) + <_PatchVersion>$([System.Version]::Parse('$(AssemblyVersion)').Build) + <_BuildNumber>$([System.Version]::Parse('$(AssemblyVersion)').Revision) + + + - $(GitCommitCount.PadLeft(6,'0')) + 5 + + 1996-04-01 + - - $(_PatchNumber) - - $(GitCommitCount) + + + + - - $(FileVersion) - - $(VersionPrefix).$(CombinedBuildNumberAndRevision) - + + +