diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 833706fe..ffb12b71 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
build:
name: Build
- runs-on: windows-latest
+ runs-on: windows-2022
steps:
- name: Go
uses: actions/setup-go@v2
@@ -26,6 +26,8 @@ jobs:
- name: MSBuild
uses: microsoft/setup-msbuild@v1.0.3
+ with:
+ vs-prerelease: true
- name: Checkout
uses: actions/checkout@v2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 45f2ba27..9e4b431d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -7,7 +7,7 @@ on:
jobs:
build:
name: Build
- runs-on: windows-latest
+ runs-on: windows-2022
steps:
- name: Go
uses: actions/setup-go@v2
@@ -29,6 +29,8 @@ jobs:
- name: MSBuild
uses: microsoft/setup-msbuild@v1.0.3
+ with:
+ vs-prerelease: true
- name: Checkout
uses: actions/checkout@v2
diff --git a/Redirector/Redirector.vcxproj b/Redirector/Redirector.vcxproj
index f698f770..03c0e3a1 100644
--- a/Redirector/Redirector.vcxproj
+++ b/Redirector/Redirector.vcxproj
@@ -21,13 +21,13 @@
DynamicLibrary
true
- v142
+ v143
Unicode
DynamicLibrary
false
- v142
+ v143
true
Unicode
diff --git a/RouteHelper/RouteHelper.vcxproj b/RouteHelper/RouteHelper.vcxproj
index 9a48c5ca..e6507c8c 100644
--- a/RouteHelper/RouteHelper.vcxproj
+++ b/RouteHelper/RouteHelper.vcxproj
@@ -21,13 +21,13 @@
DynamicLibrary
true
- v142
+ v143
Unicode
DynamicLibrary
false
- v142
+ v143
true
Unicode