You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
I recently updated several NuGets and now when I try to build in Release mode for Android I get the following error messages:
MSB4064: The "IsAndroid" parameter is not supported by the "XamarinDownloadArchives" task loaded from assembly: Xamarin.Build.Download, Version=1.0.6646.18282, Culture=neutral, PublicKeyToken=null from the path: C:\Users\<me>\.nuget\packages\xamarin.build.download\0.4.9\build\Xamarin.Build.Download.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property. MSB4063: The "XamarinDownloadArchives" task could not be initialized with its input parameters. Done building project "MyApp.Droid.csproj" -- FAILED
I ran into this today too. I had two Android projects (app and lib) that referenced different versions of various Xamarin.GooglePlayServices.* nugets. This caused the library project to pull in Xamarin.Build.Download 0.4.9 and the app to pull in Xamarin.Build.Download 0.11.0, which caused the above error when you try to build it.
I found that deleting the 0.4.9 folder from the nuget/packages folder or adding an explicit reference to Xamarin.Build.Download 0.11.0 to the library resolved this.
I recently updated several NuGets and now when I try to build in Release mode for Android I get the following error messages:
MSB4064: The "IsAndroid" parameter is not supported by the "XamarinDownloadArchives" task loaded from assembly: Xamarin.Build.Download, Version=1.0.6646.18282, Culture=neutral, PublicKeyToken=null from the path: C:\Users\<me>\.nuget\packages\xamarin.build.download\0.4.9\build\Xamarin.Build.Download.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property. MSB4063: The "XamarinDownloadArchives" task could not be initialized with its input parameters. Done building project "MyApp.Droid.csproj" -- FAILED
It looks like the issue may be in this page:
https://github.com/xamarin/XamarinComponents/blob/main/Util/Xamarin.Build.Download/source/Xamarin.Build.Download/Xamarin.Build.Download.targets
Thanks for looking at it.
The text was updated successfully, but these errors were encountered: