X Tutup
Skip to content

🔧Set assembly file version to match nuget version#1582

Merged
angularsen merged 1 commit intomasterfrom
agl/fix-file-version
Jul 26, 2025
Merged

🔧Set assembly file version to match nuget version#1582
angularsen merged 1 commit intomasterfrom
agl/fix-file-version

Conversation

@angularsen
Copy link
Owner

@angularsen angularsen commented Jul 26, 2025

Fixes #1557
Forward port of #1581 (cherry picked from commit 6fe8e42)

The assembly file version was incorrectly set to the same as <AssemblyVersion>, which is fixed to the major version for strong naming.

Changes

  • Explicitly configure <FileVersion> to match the nuget package version

Fixes #1557

The assembly file version was incorrectly set to the same as `<AssemblyVersion>`, which is fixed to the major version for strong naming.

### Changes
- Explicitly configure `<FileVersion>` to match the nuget package version

(cherry picked from commit 6fe8e42)

# Conflicts:
#	UnitsNet.Benchmark/UnitsNet.Benchmark.csproj
#	UnitsNet.NumberExtensions/UnitsNet.NumberExtensions.csproj
#	UnitsNet.Serialization.JsonNet/UnitsNet.Serialization.JsonNet.csproj
#	UnitsNet/UnitsNet.csproj
@angularsen angularsen merged commit bf9bfe1 into master Jul 26, 2025
1 check was pending
@angularsen angularsen deleted the agl/fix-file-version branch July 26, 2025 01:23
angularsen added a commit that referenced this pull request Jul 26, 2025
Fixup of #1582

Remove any semantic version suffix in the file version, it is not allowed and broke the master branch build with pre-release version.
angularsen added a commit that referenced this pull request Jul 26, 2025
Fixup of #1582

Remove any semantic version suffix in the file version, it is not
allowed and broke the master branch build with pre-release version.
@angularsen
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File version unchanged between minor versions

1 participant

X Tutup