Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)

like image 469
deep sinha Avatar asked Feb 28 '20 13:02

deep sinha


2 Answers

As suggested byb an answer in https://stackoverflow.com/a/59202701/10627299, restarting the visual studio fixed the issue.

like image 128
sandeepani Avatar answered Oct 04 '22 11:10

sandeepani


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

like image 40
Mikalai Daronin Avatar answered Oct 04 '22 11:10

Mikalai Daronin