Uh oh!
There was an error while loading. Please reload this page.
forked from dotnet/android
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
Latest commit
33 lines (30 loc) · 1.1 KB
/
Copy pathbuild.cmd
File metadata and controls
33 lines (30 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echooff
FOR /F "tokens=1 delims="%%FIN ('.\build-tools\scripts\vswhere.cmd') DOSETresult=%%F
2>NULCALL"%result%\Common7\Tools\VsDevCmd.bat"
IFERRORLEVEL1CALL:FAILED_CASE
2>NULCALL :%1_CASE
IFERRORLEVEL1CALL :DEFAULT_CASE
:Prepare_CASE
dotnet build Xamarin.Android.sln -t:Prepare -nr:false
GOTO END_CASE
:PrepareExternal_CASE
dotnet build Xamarin.Android.sln -t:PrepareExternal -nr:false
GOTO END_CASE
:Build_CASE
dotnet-local.cmd build Xamarin.Android.sln -nr:false
dotnet-local.cmd build tools/xabuild/xabuild.csproj -nr:false
GOTO END_CASE
:Pack_CASE
dotnet-local.cmd build Xamarin.Android.sln -t:PackDotNet -nr:false
GOTO END_CASE
:DEFAULT_CASE
dotnet build Xamarin.Android.sln -t:Prepare -nr:false
dotnet-local.cmd build Xamarin.Android.sln -nr:false
dotnet-local.cmd build tools/xabuild/xabuild.csproj -nr:false
dotnet-local.cmd build Xamarin.Android.sln -t:PackDotNet -nr:false
GOTO END_CASE
:FAILED_CASE
echo"Failed to find an instance of Visual Studio. Please check it is correctly installed."
GOTO END_CASE
:END_CASE
GOTO :EOF