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

Jor*_*ens 16 proguard xamarin.android xamarin xamarin.forms

所以我在我的一个应用程序上启用了proguard.我有一些问题,但我解决了所有问题(必须更新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.
Run Code Online (Sandbox Code Playgroud)

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

Jor*_*ens 27

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

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

  • 在我的情况下,我只需重新启动VS. (5认同)