From ed68f920f11b4f30d7748b52fed140d8e9d7d61c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 11 May 2024 15:08:30 -0500 Subject: [PATCH] Avoid polluting source tree with NuGet cache files during WiX build --- scripts/build-arch.bat | 2 +- scripts/generate-bundle.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-arch.bat b/scripts/build-arch.bat index 2e35cbc6..a2e0d946 100644 --- a/scripts/build-arch.bat +++ b/scripts/build-arch.bat @@ -235,7 +235,7 @@ if "%ML_SYMBOL_STORE%" NEQ "" ( ) echo Building MSI -msbuild -Restore %SOURCE_ROOT%\wix\Moonlight\Moonlight.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=%ARCH% +msbuild -Restore %SOURCE_ROOT%\wix\Moonlight\Moonlight.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=%ARCH% /p:MSBuildProjectExtensionsPath=%BUILD_FOLDER%\ if !ERRORLEVEL! NEQ 0 goto Error echo Copying application binary to deployment directory diff --git a/scripts/generate-bundle.bat b/scripts/generate-bundle.bat index 0470a392..ef542c55 100644 --- a/scripts/generate-bundle.bat +++ b/scripts/generate-bundle.bat @@ -72,7 +72,7 @@ if !ERRORLEVEL! NEQ 0 goto Error echo Building bundle rem Bundles are always x86 binaries -msbuild -Restore %SOURCE_ROOT%\wix\MoonlightSetup\MoonlightSetup.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=x86 +msbuild -Restore %SOURCE_ROOT%\wix\MoonlightSetup\MoonlightSetup.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=x86 /p:MSBuildProjectExtensionsPath=%BUILD_FOLDER%\ if !ERRORLEVEL! NEQ 0 goto Error rem Rename the installer to match the publishing convention