From 92c7dcb871aa5b702f6d00c0529fd8f06de8ac0d Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Wed, 29 Jul 2026 00:17:10 +0200 Subject: [PATCH] Set version to 0.0.1 and pin assembly identity for CI builds The release and nightly workflows stamp a date-based version into build.yaml (1.0.20260729.42). That build segment exceeds the 16-bit limit AssemblyVersion and FileVersion require, so it would fail the compile with CS7034 if it reached them. Directory.Build.targets is imported after Directory.Build.props and is not rewritten by CI, so pinning the assembly identity there keeps those builds working. The manifest version is untouched - Jellyfin identifies plugins by GUID plus manifest version, not assembly version. Verified by building with a date-based version injected. --- Directory.Build.props | 6 +++--- Directory.Build.targets | 16 ++++++++++++++++ build.yaml | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 Directory.Build.targets diff --git a/Directory.Build.props b/Directory.Build.props index c702921..dca6c5d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 0.0.0.0 - 0.0.0.0 - 0.0.0.0 + 0.0.1.0 + 0.0.1.0 + 0.0.1.0 diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 0000000..ccae6d7 --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,16 @@ + + + + 1.0.0.0 + 1.0.0.0 + + diff --git a/build.yaml b/build.yaml index 7c5a937..8543fa9 100644 --- a/build.yaml +++ b/build.yaml @@ -1,7 +1,7 @@ --- name: "Watched Together" guid: "aa3288a0-e8c1-43e2-8045-8c3411142a5b" -version: "1.0.0.0" +version: "0.0.1.0" targetAbi: "10.11.0.0" framework: "net9.0" overview: "One shared login for several people; watched state flows back to each member's own account"