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

So, I turned on proguard in one of my applications. I had some problems with this, but I solved them all (had to update proguard, make android sdk symlink without spaces)

Now I have enabled security in another application, and I constantly get 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. 

Does anyone know how to solve this? Not sure what else I could add

+8
xamarin xamarin.android xamarin.forms proguard
source share
2 answers

I solved the problem by restarting the computer.

Change It seems that restarting the visual studio might be enough to solve the problem.

+14
source share

Rebooting Visual Studio or my computer did not work for me. The correct fix is ​​to change the version of the Xamarin.Build.Download package to what works.

For me, this meant changing packages that referenced version 0.4.7 to 0.4.3 .

It seems that many people had problems with 0.4.7.

0
source share

All Articles