Commit 610ade7
[Xamarin.Android.Build.Tasks] ILRepack the NuGet.* Tasks Dependencies. (#1694)
`<ResolveAssemblies/>` is throwing the following error on a newer
mono versions (2018-04):
error : Could not load file or assembly 'NuGet.ProjectModel, Version=4.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
This is because we took a dependency on NuGet.ProjectModel 4.6 and
the newer mono has 4.7.
We cannot always be sure which version of the NuGet assemblies will
be installed since users are able to upgrade mono independently.
Instead, use the `ILRepack` NuGet to package up the dependencies we
need so that `Xamarin.Android.Build.Tasks.dll` contains all the
correct assemblies it needs.1 parent 88ef36b commit 610ade7
3 files changed
Lines changed: 33 additions & 1 deletion
File tree
- src/Xamarin.Android.Build.Tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| |||
733 | 734 | | |
734 | 735 | | |
735 | 736 | | |
| 737 | + | |
736 | 738 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
0 commit comments