Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The "Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs" task could not be loaded from the assembly

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

like image 917
Jordy Dieltjens Avatar asked Jul 05 '17 12:07

Jordy Dieltjens


2 Answers

I resolved my issue by restarting my computer

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

like image 63
Jordy Dieltjens Avatar answered Oct 17 '22 06:10

Jordy Dieltjens


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.

like image 3
DaveDev Avatar answered Oct 17 '22 05:10

DaveDev