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:
commit
8ee47190cd
6 changed files with 16 additions and 10 deletions
|
@ -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" %*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue