1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Merge pull request #585 from eveningstarinc/master

Fix misc bugs w/ IDE build in folders with a space
This commit is contained in:
Brian Fiete 2020-10-26 09:58:52 -07:00 committed by GitHub
commit 8ee47190cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 10 deletions

View file

@ -1,10 +1,10 @@
@echo off
for /f "usebackq tokens=*" %%i in (`%~dp0\vswhere -prerelease -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
set VcInstallDir=%%i
for /f "usebackq tokens=*" %%i in (`"%~dp0\vswhere" -prerelease -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
set "VcInstallDir=%%i"
)
SET VsBuildDir=%VcInstallDir%\MSBuild\15.0
SET "VsBuildDir=%VcInstallDir%\MSBuild\15.0"
@IF EXIST "%VcInstallDir%\MSBuild\Current" SET VsBuildDir=%VcInstallDir%\MSBuild\Current
"%VsBuildDir%\Bin\MSBuild.exe" %*