From 6fe8e42f1452caa4bb70a3753f18049b3ae4813f Mon Sep 17 00:00:00 2001 From: Andreas Gullberg Larsen Date: Sat, 26 Jul 2025 03:16:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7Set=20assembly=20file=20version=20t?= =?UTF-8?q?o=20match=20nuget=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1557 The assembly file version was incorrectly set to the same as ``, which is fixed to the major version for strong naming. ### Changes - Explicitly configure `` to match the nuget package version --- UnitsNet.Benchmark/UnitsNet.Benchmark.csproj | 4 ++-- UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj | 3 ++- .../UnitsNet.Serialization.JsonNet.csproj | 3 ++- UnitsNet/UnitsNet.csproj | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/UnitsNet.Benchmark/UnitsNet.Benchmark.csproj b/UnitsNet.Benchmark/UnitsNet.Benchmark.csproj index 2025f71740..ca91e3fc43 100644 --- a/UnitsNet.Benchmark/UnitsNet.Benchmark.csproj +++ b/UnitsNet.Benchmark/UnitsNet.Benchmark.csproj @@ -2,8 +2,8 @@ Exe net9.0;net48 - 4.0.0.0 - 4.0.0.0 + 5.0.0.0 + 5.0.0.0 UnitsNet.Benchmark UnitsNet.Benchmark UnitsNet.Benchmark diff --git a/UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj b/UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj index c371f252b2..c25982ea3a 100644 --- a/UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj +++ b/UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj @@ -18,7 +18,8 @@ - 5.0.0.0 + 5.0.0.0 + $(Version) latest enable UnitsNet diff --git a/UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj b/UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj index 2964dfd55e..13ae5b48f4 100644 --- a/UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj +++ b/UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj @@ -20,7 +20,8 @@ - 5.0.0.0 + 5.0.0.0 + $(Version) latest enable UnitsNet.Serialization.JsonNet diff --git a/UnitsNet/UnitsNet.csproj b/UnitsNet/UnitsNet.csproj index ac9509729b..67ed6c106e 100644 --- a/UnitsNet/UnitsNet.csproj +++ b/UnitsNet/UnitsNet.csproj @@ -20,7 +20,8 @@ - 5.0.0.0 + 5.0.0.0 + $(Version) latest enable UnitsNet