Commit 20bdd5c
authored
[nativeaot] default to
Context: https://github.com/xamarin/xamarin-macios/blob/d4baff4c6847a413e6a9c60089edfff50611ea9b/dotnet/targets/Xamarin.Shared.Sdk.props#L192
`$(PublishAotUsingRuntimePack)` needs to be `true` for any NativeAOT
scenario on mobile. This setting is more useful for desktop platforms,
as you aren't cross-compiling anything. Desktop builds can potentially
use the packs from the .NET SDK as the host and target match.
xamarin/xamarin-macios also defaults `$(PublishAotUsingRuntimePack)=true`
when `$(PublishAot)=true`, so we should be safe to follow suit.$(PublishAotUsingRuntimePack)=true (#9815)1 parent 1d1bf33 commit 20bdd5c
File tree
3 files changed
+2
-3
lines changed- samples/NativeAOT
- src/Xamarin.Android.Build.Tasks
- Microsoft.Android.Sdk/targets
- Tests/Xamarin.Android.Build.Tests
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
| |||
0 commit comments