Skip to content

Commit

Permalink
Use Visual Studio 2022 to build application in the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxalus committed Feb 8, 2022
1 parent 96621fe commit 050e3e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
create_release:
name: Create GitHub Release
runs-on: windows-2019
runs-on: windows-2022
steps:
- name: Install 7Zip PowerShell Module
shell: powershell
Expand Down
10 changes: 5 additions & 5 deletions CI/Build.cmd
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@REM @echo off
@echo off

pushd "%~dp0"
cd ..\KHFM-VF-Patch

"%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" KHFM-VF-Patch.sln /t:Restore /p:Configuration=Release /p:Platform=x86
"%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" KHFM-VF-Patch.sln /t:Build /p:Configuration=Release /p:Platform=x86
"%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" KHFM-VF-Patch.sln /t:Rebuild /p:Configuration=Release /p:Platform=x86
"%programfiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild.exe" KHFM-VF-Patch.sln /t:Restore /p:Configuration=Release /p:Platform=x86
"%programfiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild.exe" KHFM-VF-Patch.sln /t:Build /p:Configuration=Release /p:Platform=x86
"%programfiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild.exe" KHFM-VF-Patch.sln /t:Rebuild /p:Configuration=Release /p:Platform=x86

:exit
popd

@REM @echo on
@echo on

0 comments on commit 050e3e3

Please sign in to comment.