This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Commit abda726
authored
[azdo] make dotnet parameter optional (#1081)
Context: dotnet/android-libraries#247
Context: https://github.com/xamarin/Xamarin.Legacy.Sdk
I'm testing out if we can multi-target the AndroidX libraries for `MonoAndroid90;net6.0-android`.
Unfortunately the build fails because:
1. The `UseDotNet@2` yaml task can't install .NET
6.0.100-alpha.1.21064.27. We have to use the `dotnet-install`
script to install it ourselves.
2. `dotnet tool` commands won't work, if there is a `global.json` file
targeting `6.0.100-alpha.1.21064.27`.
I think for now, we should make it so callers can set `dotnet: ''` and
skip many of these steps. Callers can also leave the `tools: []`
parameter blank.
If a build needs to install .NET 6 and other .NET global tools, I
think it will be able to be done in `preBuildSteps` after these
changes.1 parent 97da3d0 commit abda726
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
0 commit comments