File tree Expand file tree Collapse file tree 6 files changed +73
-0
lines changed
UnitsNet.TestApps.Uwp.Csharp
UnitsNet.TestApps.Uwp.WinJS Expand file tree Collapse file tree 6 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ set vswhere = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
4
+
5
+ for /f " usebackq tokens=*" %%i in (`%vswhere% -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
6
+ set InstallDir = %%i
7
+ )
8
+
9
+ if exist " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" (
10
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" /t:restore %*
11
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" %*
12
+ )
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ set vswhere = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
4
+
5
+ for /f " usebackq tokens=*" %%i in (`%vswhere% -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
6
+ set InstallDir = %%i
7
+ )
8
+
9
+ if exist " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" (
10
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" /t:restore %*
11
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" %*
12
+ )
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ set vswhere = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
4
+
5
+ for /f " usebackq tokens=*" %%i in (`%vswhere% -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
6
+ set InstallDir = %%i
7
+ )
8
+
9
+ if exist " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" (
10
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" /t:restore %*
11
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" %*
12
+ )
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ set vswhere = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
4
+
5
+ for /f " usebackq tokens=*" %%i in (`%vswhere% -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
6
+ set InstallDir = %%i
7
+ )
8
+
9
+ echo %vswhere%
10
+
11
+ if exist " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" (
12
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" %*
13
+ )
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ set vswhere = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
4
+
5
+ for /f " usebackq tokens=*" %%i in (`%vswhere% -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
6
+ set InstallDir = %%i
7
+ )
8
+
9
+ if exist " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" (
10
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" /t:restore %*
11
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" %*
12
+ )
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ set vswhere = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
4
+
5
+ for /f " usebackq tokens=*" %%i in (`%vswhere% -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
6
+ set InstallDir = %%i
7
+ )
8
+
9
+ if exist " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" (
10
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" /t:restore %*
11
+ " %InstallDir% \MSBuild\15.0\Bin\MSBuild.exe" %*
12
+ )
You can’t perform that action at this time.
0 commit comments