Android build now sets .net sdk version before nuget restore
This commit is contained in:
Родитель
20f1f130a8
Коммит
d08a1f691f
|
@ -316,6 +316,13 @@ stages:
|
|||
- MSBuild
|
||||
- Xamarin.Android
|
||||
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core sdk'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: $(DotNetVersion)
|
||||
|
||||
steps:
|
||||
- task: NuGetToolInstaller@1
|
||||
displayName: Use Nuget $(NugetVersion)
|
||||
|
@ -333,12 +340,6 @@ stages:
|
|||
displayName: 'Set Xamarin.Android'
|
||||
inputs:
|
||||
uri: 'https://aka.ms/xamarin-android-commercial-d16-3-macos'
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET Core sdk'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
version: $(DotNetVersion)
|
||||
- task: XamarinAndroid@1
|
||||
displayName: 'Build Comet.Android.Sample App'
|
||||
inputs:
|
||||
|
|
Загрузка…
Ссылка в новой задаче