From f11e27d98b68b6017d60425fdacd67700ac450cb Mon Sep 17 00:00:00 2001 From: Metin Celik Date: Sat, 27 Dec 2025 17:12:52 +0100 Subject: [PATCH] Visual Studio 2026 (#821) * Fix quoting in PreBuildEvent for Windows * Add /Output/*.xml to .gitignore * Add support for Visual Studio 2022 (v145) platform toolset * Fix build scripts for paths with spaces --- .gitignore | 1 + PitchTracker/PitchTracker.vcxproj | 6 +++++- Vocaluxe/Vocaluxe.csproj | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1a7595d0..0138b9f5 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ tx.exe /Output/Playlists/*.xml /Output/Profiles/*.xml /Output/Profiles/*.png +/Output/*.xml /Output/PartyModes/*/Code/* /PartyModes/*/*/*.dll /VocaluxeLib/bin diff --git a/PitchTracker/PitchTracker.vcxproj b/PitchTracker/PitchTracker.vcxproj index 152fd98b..5edda113 100644 --- a/PitchTracker/PitchTracker.vcxproj +++ b/PitchTracker/PitchTracker.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -35,6 +35,7 @@ v141 v142 v143 + v145 Unicode @@ -47,6 +48,7 @@ v141 v142 v143 + v145 Unicode @@ -59,6 +61,7 @@ v141 v142 v143 + v145 true Unicode @@ -72,6 +75,7 @@ v141 v142 v143 + v145 true Unicode diff --git a/Vocaluxe/Vocaluxe.csproj b/Vocaluxe/Vocaluxe.csproj index 60f10d24..c06a68d2 100644 --- a/Vocaluxe/Vocaluxe.csproj +++ b/Vocaluxe/Vocaluxe.csproj @@ -505,13 +505,13 @@ - xcopy /E /D /Y "$(ProjectDir)\Website" "$(SolutionDir)\PhoneGap" - powershell -ExecutionPolicy Bypass -File $(SolutionDir)\.build\winPostBuild.ps1 $(ProjectDir) - cp -ruT "$(ProjectDir)Website" "$(SolutionDir)/PhoneGap" - $(SolutionDir)/.build/linuxPostBuildEvent.sh $(ProjectDir) + xcopy /E /D /Y "$(ProjectDir)\Website" "$(SolutionDir)\PhoneGap" +powershell -ExecutionPolicy Bypass -Command "& '$(SolutionDir)\.build\winPostBuild.ps1' -ProjectDir '$(ProjectDir)'" + cp -ruT "$(ProjectDir)Website" "$(SolutionDir)/PhoneGap" +$(SolutionDir)/.build/linuxPostBuildEvent.sh $(ProjectDir) - powershell -ExecutionPolicy Bypass -File $(SolutionDir)\.build\winPreBuild.ps1 $(ProjectDir) $(Platform) + powershell -ExecutionPolicy Bypass -Command "& '$(SolutionDir)\.build\winPreBuild.ps1' -ProjectDir '$(ProjectDir)' -Arch '$(Platform)'" $(SolutionDir)/.build/linuxPreBuildEvent.sh $(ProjectDir) $(Platform)