From f8fdb256d6180aeed58c73ec2b426bb43c630cde Mon Sep 17 00:00:00 2001 From: andy83 Date: Sun, 23 Aug 2026 19:44:27 +0200 Subject: [PATCH 1/2] Modernize Idmr.Common for .NET 10 --- .github/workflows/build.yml | 26 +++++++++++ Common.csproj | 92 ++++++++----------------------------- Properties/AssemblyInfo.cs | 2 +- 3 files changed, 45 insertions(+), 75 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a78f211 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build + +on: + push: + branches: [master, xvtsharp/net10] + pull_request: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + + - uses: actions/setup-dotnet@v5 + with: + dotnet-version: 10.0.x + + - name: Restore + run: dotnet restore Common.csproj + + - name: Build + run: dotnet build Common.csproj --no-restore --configuration Release diff --git a/Common.csproj b/Common.csproj index b8c8ae1..8dd3b37 100644 --- a/Common.csproj +++ b/Common.csproj @@ -1,79 +1,23 @@ - - + - Debug - AnyCPU - 9.0.21022 - 2.0 - {E1DD8936-2332-4623-A6E1-3BD993C25840} - Library - Properties - Idmr.Common + net10.0 Idmr.Common - v4.0 - 512 - - - - - 3.5 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - bin\Debug\Idmr.Common.XML - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - bin\Release\Idmr.Common.XML + Idmr.Common + false + true + disable + disable + true + + + false + false + false + false + $(NoWarn);CS1591;SYSLIB0011;CA1416 + - - - 3.5 - - - - - - - - - - - - - - - - - + - - - - - - - - - - copy /y "$(TargetPath)" "C:\Users\Me\Documents\Visual Studio 2008\Libraries\" - - \ No newline at end of file + diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index a7d3152..e899cb1 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -28,4 +28,4 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.3.1.*")] +[assembly: AssemblyVersion("1.3.1.0")] From db9b9d7af6d7946ba5d9089245ec33504bd0a586 Mon Sep 17 00:00:00 2001 From: andy83 Date: Sun, 23 Aug 2026 20:05:55 +0200 Subject: [PATCH 2/2] Suppress legacy serialization compatibility warnings --- Common.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common.csproj b/Common.csproj index 8dd3b37..67af75b 100644 --- a/Common.csproj +++ b/Common.csproj @@ -14,7 +14,7 @@ false false false - $(NoWarn);CS1591;SYSLIB0011;CA1416 + $(NoWarn);CS1591;SYSLIB0011;SYSLIB0050;SYSLIB0051;CA1416