File tree 3 files changed +21
-1
lines changed
3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -328,3 +328,4 @@ ASALocalRun/
328
328
329
329
# MFractors (Xamarin productivity tool) working folder
330
330
.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
4
4
if exist Release rd /s /q Release
5
5
if exist x64 rd /s /q x64
6
6
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
8
15
9
16
:exit
10
17
popd
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