Android build now sets .net sdk version before nuget restore

This commit is contained in:
James Clancey 2020-01-28 09:41:11 -09:00
Родитель 20f1f130a8
Коммит d08a1f691f
1 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -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: