diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a8d7f420c02..38e0b63d4b2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ jobs: runs-on: windows-latest env: SyncfusionLicenseKey: ${{ secrets.SyncfusionLicenseKey }} - NET_TFM: net6.0-windows10.0.22000.0 + NET_TFM: net7.0-windows Configuration: Release steps: @@ -22,7 +22,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 7.0.x - name: Setup NuGet Private Sources shell: pwsh diff --git a/build.ps1 b/build.ps1 index 8f646bba981..2825aff36f5 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,7 +5,7 @@ Write-Host 'dotnet SDK info' dotnet --info $exe = 'ShadowsocksR.exe' -$net_tfm = 'net6.0-windows10.0.22000.0' +$net_tfm = 'net7.0-windows' $configuration = 'Release' $output_dir = "$PSScriptRoot\shadowsocks-csharp\bin\$configuration" $proj_path = "$PSScriptRoot\shadowsocks-csharp\shadowsocksr.csproj"