20

So I enabled proguard on one of my application. I had some problems with it but I solved them all ( had to update proguard, make a symlink of android sdk without spaces )

Now I enabled pro guard on another application and i'm constantly getting this error:

The "Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs" task could not be loaded from the assembly C:\Users\xxx\Desktop\xxx oud\packages\Xamarin.Build.Download.0.4.6\build\Xamarin.Build.Download.dll.  Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Anybody knows a way to solve this? Not sure what more I could add

Jordy Dieltjens
  • 1,528
  • 11
  • 29

2 Answers2

28

I resolved my issue by restarting my computer

Edit: It seems restarting visual studio might be enough to resolve the problem

Jordy Dieltjens
  • 1,528
  • 11
  • 29
3

Restarting Visual Studio or my computer didn't work for me. The correct fix is to modify the package version of Xamarin.Build.Download to something that works.

For me, it meant changing the packages that referred to version 0.4.7 to 0.4.3.

It seems that a lot of people have had trouble with 0.4.7.

DaveDev
  • 41,155
  • 72
  • 223
  • 385