File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -328,3 +328,4 @@ ASALocalRun/
328328
329329# MFractors (Xamarin productivity tool) working folder
330330.mfractor /
331+ /Paths.cmd
Original file line number Diff line number Diff line change @@ -4,7 +4,14 @@ if exist Debug rd /s /q Debug
44if exist Release rd /s /q Release
55if exist x64 rd /s /q x64
66
7- " %programfiles(x86)% \Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" /p:Configuration=Release
7+ IF NOT EXIST " Paths.cmd" (
8+ ECHO Please copy " Paths.cmd.template" , enter your Visual Studio path and rename it to " Paths.cmd" .
9+ PAUSE
10+ GOTO exit
11+ )
12+
13+ call Paths.cmd
14+ " %VISUAL_STUDIO_PATH% " /p:Configuration=Release
815
916:exit
1017popd
Original file line number Diff line number Diff line change 1+ @echo off
2+ :: Set your Visual Studio path here.
3+ :: TODO: Make visual studio path auto detection.
4+
5+ :: Enterprise path
6+ SET VISUAL_STUDIO_PATH=%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe
7+
8+ :: Community path
9+ ::SET VISUAL_STUDIO_PATH=%programfiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe
10+
11+ echo Using Visual Studio path:%VISUAL_STUDIO_PATH%
12+ @echo on
You can’t perform that action at this time.
0 commit comments