无法从程序集中加载 "Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs" 任务

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

所以我在我的一个应用程序上启用了混淆器。我遇到了一些问题,但我解决了所有问题(必须更新 proguard,创建 android sdk 的符号链接,不带空格)

现在我在另一个应用程序上启用了 pro guard,但我不断收到此错误:

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.

有人知道解决这个问题的方法吗?不确定我还能添加什么

我通过重新启动计算机解决了我的问题

编辑:似乎重新启动visual studio可能足以解决问题

正在重新启动 Visual Studio 或我的计算机无法正常工作。正确的解决方法是将 Xamarin.Build.Download 的包版本修改为有效的版本。

对我来说,这意味着将引用版本 0.4.7 的软件包更改为 0.4.3

好像很多人都遇到过0.4.7的问题。