From 3a804c99cedede4f0962f9f7a06364c5a6b427ad Mon Sep 17 00:00:00 2001 From: ChiaraBm Date: Thu, 15 May 2025 09:45:54 +0200 Subject: [PATCH] Upgraded to dotnet 9 --- .../Moonlight.ApiServer.csproj | 17 ++++++------- Moonlight.Client/Moonlight.Client.csproj | 24 +++++++++---------- Moonlight.Shared/Moonlight.Shared.csproj | 6 ++--- Resources/Scripts/Scripts.csproj | 6 +---- 4 files changed, 22 insertions(+), 31 deletions(-) diff --git a/Moonlight.ApiServer/Moonlight.ApiServer.csproj b/Moonlight.ApiServer/Moonlight.ApiServer.csproj index 91ae5037..bc97f0ac 100644 --- a/Moonlight.ApiServer/Moonlight.ApiServer.csproj +++ b/Moonlight.ApiServer/Moonlight.ApiServer.csproj @@ -1,11 +1,9 @@  - net8.0 + net9.0 enable enable - Linux - apiserver @@ -27,20 +25,19 @@ A build of the api server for moonlight development https://github.com/Moonlight-Panel/Moonlight true + apiserver true - - - - - - + + + + - + diff --git a/Moonlight.Client/Moonlight.Client.csproj b/Moonlight.Client/Moonlight.Client.csproj index 566804fd..2858878b 100644 --- a/Moonlight.Client/Moonlight.Client.csproj +++ b/Moonlight.Client/Moonlight.Client.csproj @@ -1,17 +1,16 @@  - net8.0 + net9.0 enable enable - Linux **\bin\**;**\obj\**;**\node_modules\**;**\Styles\*.json True - frontend + frontend Moonlight.Client 2.1.0 Moonlight Panel @@ -21,13 +20,12 @@ true - - - - - - - + + + + + + @@ -45,9 +43,9 @@ + Specify the /p:BuildPWA=true flag to build moonlight as a PWA. + This flag is by default disabled to allow nuget package generation + --> service-worker-assets.js diff --git a/Moonlight.Shared/Moonlight.Shared.csproj b/Moonlight.Shared/Moonlight.Shared.csproj index 612b5980..14145ac6 100644 --- a/Moonlight.Shared/Moonlight.Shared.csproj +++ b/Moonlight.Shared/Moonlight.Shared.csproj @@ -1,13 +1,13 @@  - net8.0 + net9.0 enable enable - Moonlight.Shared - shared + Moonlight.Shared + shared Moonlight.Shared 2.1.0 Moonlight Panel diff --git a/Resources/Scripts/Scripts.csproj b/Resources/Scripts/Scripts.csproj index 46dbb3b6..ff74cd5c 100644 --- a/Resources/Scripts/Scripts.csproj +++ b/Resources/Scripts/Scripts.csproj @@ -2,14 +2,10 @@ Exe - net8.0 + net9.0 enable enable - - - -