diff --git a/.github/workflows/buildwindowsimage.yml b/.github/workflows/buildwindowsimage.yml index b79e870..5ae6883 100644 --- a/.github/workflows/buildwindowsimage.yml +++ b/.github/workflows/buildwindowsimage.yml @@ -14,6 +14,11 @@ jobs: steps: - uses: actions/checkout@v2.3.4 + + - name: Install NET 9 + uses: actions/setup-dotnet@v4.0.1 + with: + dotnet-version: '9.0.x' - name: Get the version id: get_version diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index e414a7b..a47c9de 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -19,10 +19,10 @@ jobs: id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - - name: Install NET 8 - uses: actions/setup-dotnet@v2 + - name: Install NET 9 + uses: actions/setup-dotnet@v4.0.1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Restore Nuget Packages run: dotnet restore MobileConfiguration.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} diff --git a/.github/workflows/nightlybuild.yml b/.github/workflows/nightlybuild.yml index 4b0a502..daf6b70 100644 --- a/.github/workflows/nightlybuild.yml +++ b/.github/workflows/nightlybuild.yml @@ -19,10 +19,10 @@ jobs: - name: Set Up Variables run: echo "action_url=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" >> $GITHUB_ENV - - name: Install NET 8 - uses: actions/setup-dotnet@v2 + - name: Install NET 9 + uses: actions/setup-dotnet@v4.0.1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Restore Nuget Packages run: dotnet restore MobileConfiguration.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index e8d7f75..c1a2ed9 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2.3.4 - - name: Install NET 8 - uses: actions/setup-dotnet@v2 + - name: Install NET 9 + uses: actions/setup-dotnet@v4.0.1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Restore Nuget Packages run: dotnet restore MobileConfiguration.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} diff --git a/.github/workflows/pushtomaster.yml b/.github/workflows/pushtomaster.yml index 5784c67..aa523ae 100644 --- a/.github/workflows/pushtomaster.yml +++ b/.github/workflows/pushtomaster.yml @@ -19,10 +19,10 @@ jobs: with: fetch-depth: 0 - - name: Install NET 8 - uses: actions/setup-dotnet@v2 + - name: Install NET 9 + uses: actions/setup-dotnet@v4.0.1 with: - dotnet-version: '8.0.x' + dotnet-version: '9.0.x' - name: Restore Nuget Packages run: dotnet restore MobileConfiguration.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }} diff --git a/MobileConfiguration/Dockerfile b/MobileConfiguration/Dockerfile index 295eec6..3ecda39 100644 --- a/MobileConfiguration/Dockerfile +++ b/MobileConfiguration/Dockerfile @@ -1,7 +1,7 @@ FROM stuartferguson/txnprocbase AS base WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build WORKDIR /src COPY ["MobileConfiguration/NuGet.Config", "MobileConfiguration/"] COPY ["MobileConfiguration/MobileConfiguration.csproj", "MobileConfiguration/"] diff --git a/MobileConfiguration/Dockerfilewindows b/MobileConfiguration/Dockerfilewindows index a3ce501..b8aa24d 100644 --- a/MobileConfiguration/Dockerfilewindows +++ b/MobileConfiguration/Dockerfilewindows @@ -2,7 +2,7 @@ FROM stuartferguson/txnprocbasewindows AS base USER ContainerAdministrator WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:8.0-windowsservercore-ltsc2022 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-windowsservercore-ltsc2022 AS build WORKDIR /src COPY ["MobileConfiguration/NuGet.Config", "MobileConfiguration/"] COPY ["MobileConfiguration/MobileConfiguration.csproj", "MobileConfiguration/"] diff --git a/MobileConfiguration/MobileConfiguration.csproj b/MobileConfiguration/MobileConfiguration.csproj index 0d116a0..b28699f 100644 --- a/MobileConfiguration/MobileConfiguration.csproj +++ b/MobileConfiguration/MobileConfiguration.csproj @@ -1,32 +1,32 @@  - net8.0 + net9.0 enable enable 8795d0e9-2509-41b8-b1e1-f28f8468338b - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + +