Marcel Beeker
Marcel Beeker

Reputation: 171

VSTS Xamarin.Android build error

I want to setup the build of my Xamarin.Android app in VSTS. I received the following error in the Build.Xamarin.Android step: Error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ....\packages\Xamarin.Android.Support.Animated.Vector.Drawable.25.4.0.2\build\MonoAndroid70\Xamarin.Android.Support.Animated.Vector.Drawable.targets

I followed the steps as described on the page described in this link: https://learn.microsoft.com/nl-nl/vsts/build-release/apps/mobile/xamarin?tabs=vsts

What am I doing wrong?

Upvotes: 1

Views: 107

Answers (1)

Elvis Xia - MSFT
Elvis Xia - MSFT

Reputation: 10831

Build.Xamarin.Android step: Error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.

You need to check two tasks in your build definition:

  1. Task : Use NuGet 4.3.0

  2. Task : NuGet restore

If any task is missing in your build definition, please add it. If the error persists, please provide the build log.

Upvotes: 1

Related Questions