From c0c68432ed446d55d1d1cc6e853ad1f131acc165 Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Wed, 15 May 2024 13:43:55 +0100 Subject: [PATCH] fix versions --- .config/dotnet-tools.json | 6 ------ Build/Program.cs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 8ce20d10e8..ec79f15682 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -13,12 +13,6 @@ "commands": [ "husky" ] - }, - "gitversion.tool": { - "version": "5.12.0", - "commands": [ - "dotnet-gitversion" - ] } } } \ No newline at end of file diff --git a/Build/Program.cs b/Build/Program.cs index 2d3cd32eec..a71bd15828 100644 --- a/Build/Program.cs +++ b/Build/Program.cs @@ -87,7 +87,7 @@ void RemoveDirectory(string d) Console.WriteLine($"Version: {version}"); Run( "msbuild", - $"{s} /p:Configuration=Release /p:IsDesktopBuild=false /p:NuGetRestorePackages=false /p:Version='{version}' -v:m" + $"{s} /p:Configuration=Release /p:IsDesktopBuild=false /p:NuGetRestorePackages=false /p:Version={version} /p:FileVersion={version} -v:m" ); } );