From 65cfada2e05d0deb542525c60e6e9e00b6b08a15 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:02:25 +0200 Subject: [PATCH 1/2] First update to .NET8 --- .github/workflows/run_unit_tests.yml | 6 +++--- .../AudioCuesheetEditor.csproj | 20 +++++++++---------- .../AudioCuesheetEditorTests.csproj | 10 +++++----- netlify/build.sh | 4 ++-- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index e436b851..0232fc35 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -13,14 +13,14 @@ jobs: - uses: actions/checkout@v4.1.2 # sets up .NET - # version can be found here https://dotnet.microsoft.com/en-us/download/dotnet/7.0 + # version can be found here https://dotnet.microsoft.com/en-us/download/dotnet/8.0 - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '7.0.101' + dotnet-version: '8.0.203' - name: Install wasm-tools - run: dotnet workload install wasm-tools-net7 + run: dotnet workload install wasm-tools # Only publish when unit tests are ok - name: Run Unit Tests diff --git a/AudioCuesheetEditor/AudioCuesheetEditor.csproj b/AudioCuesheetEditor/AudioCuesheetEditor.csproj index 1f86a34b..f769004a 100644 --- a/AudioCuesheetEditor/AudioCuesheetEditor.csproj +++ b/AudioCuesheetEditor/AudioCuesheetEditor.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 true enable enable @@ -97,18 +97,18 @@ - - - + + + - - - - - - + + + + + + diff --git a/AudioCuesheetEditorTests/AudioCuesheetEditorTests.csproj b/AudioCuesheetEditorTests/AudioCuesheetEditorTests.csproj index 2df2704d..123e9e5e 100644 --- a/AudioCuesheetEditorTests/AudioCuesheetEditorTests.csproj +++ b/AudioCuesheetEditorTests/AudioCuesheetEditorTests.csproj @@ -1,16 +1,16 @@ - net7.0 + net8.0 enable false - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/netlify/build.sh b/netlify/build.sh index 7e646326..2d64ae2f 100644 --- a/netlify/build.sh +++ b/netlify/build.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash set -e -## install latest .NET 7.0 release +## install latest .NET 8.0 release pushd /tmp wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh chmod u+x /tmp/dotnet-install.sh -/tmp/dotnet-install.sh --channel 7.0 +/tmp/dotnet-install.sh --channel 8.0 popd ## Install wasm-tools From 1367945b67733a824a58c74bc52f4548e0139a18 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 3 Apr 2024 15:07:55 +0200 Subject: [PATCH 2/2] Update AudioCuesheetEditor.csproj --- AudioCuesheetEditor/AudioCuesheetEditor.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AudioCuesheetEditor/AudioCuesheetEditor.csproj b/AudioCuesheetEditor/AudioCuesheetEditor.csproj index f769004a..2873eb08 100644 --- a/AudioCuesheetEditor/AudioCuesheetEditor.csproj +++ b/AudioCuesheetEditor/AudioCuesheetEditor.csproj @@ -96,12 +96,12 @@ - + - +