The "XamarinDownloadArchives" task could not be initialized with its input parameters

Viewed 5565

I am getting two error while Compiling Xamarin.iOS application on Visual Studio Mac (Version 8.4.3 (build 12)).

Xamarin.Forms 4.4.0.991640

Xamarin.Build.Download.0.9.0

Error :

1.packages/Xamarin.Build.Download.0.9.0/build/Xamarin.Build.Download.targets(3,3): Error MSB4063: The "XamarinDownloadArchives" task could not be initialized with its input parameters. (MSB4063)

**2.**packages/Xamarin.Build.Download.0.9.0/build/Xamarin.Build.Download.targets(4,4): Error MSB4064: The "AllowUnsecureUrls" parameter is not supported by the "XamarinDownloadArchives" task. Verify the parameter exists on the task, and it is a settable public instance property. (MSB4064)

4 Answers

In my case it was due to Xamarin.Build.Download versions mismatch: some projects used 0.10.0 and some others used older 0.4.1 which caused the old nuget's msbuild task to be loaded

I got this after I paired my Mac. I did a Clean and a Rebuild on the Android Project and it worked for me again.

Try downgrading Xamarin.Build.Download on Nuget, in my case using 0.8.0 worked fine.

Related