Commit 8db5456
committed
Fix part of Mono.Posix build issue regarding MonoDroidSDK discovery.
We can build xamarin-android on Linux only because we somehow had a
working monodroid setup with MONO_ANDROID_PATH. Hence, fresh build hits:
bin/Debug/lib/xbuild/Xamarin/Android/Xamarin.Android.Common.targets:
error : Error executing task ResolveSdks: Value cannot be null.
Now that Mono.Posix and some other libs depends on existing SDK,
MonoDroidSdkUnix needs to also deal with bootstrap build.
So far, the SDK sanity check uses generator.exe which does not exist when
we are building Mono.Posix, so use class-parse.exe which exists instead.
Also we only build 6.0 and UseLatestSDK somehow tries to find 6.0.99 and
fails, so use 6.0 instead.1 parent 742e031 commit 8db5456
File tree
5 files changed
+9
-5
lines changed- src
- Mono.Posix
- Xamarin.Android.Build.Tasks
- Tasks
- Utilities
- Xamarin.Android.Build.Utilities/Sdks
5 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
0 commit comments