Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting build error with Xamarin.Build.Download 0.10.0 #1063

Open
ruhanijeb opened this issue Dec 20, 2020 · 33 comments
Open

Getting build error with Xamarin.Build.Download 0.10.0 #1063

ruhanijeb opened this issue Dec 20, 2020 · 33 comments

Comments

@ruhanijeb
Copy link

I am migrating to AndroidX and downloaded the latest version 0.10.0 but in android i am not able to build the project .
Its giving me this error . Error MSB4064: The "AndroidFixManifests" parameter is not supported by the "XamarinDownloadArchives" task. Verify the parameter exists on the task, and it is a settable public instance property.
Error MSB4063: The "XamarinDownloadArchives" task could not be initialized with its input parameters.

Please let me know if anybody is facing this issue . If there is any solution i am thinking its an issue in latest version.

@ruhanijeb ruhanijeb changed the title Geeeting build error with Xamarin.Build.Download 0.10.0 Getting build error with Xamarin.Build.Download 0.10.0 Dec 20, 2020
@Yuliya-Fedorenko
Copy link

I'm having the same issue with Xamarin.Build.Download 0.10.0
Severity Code Description Project File Line Suppression State
Error The "AndroidFixManifests" parameter is not supported by the "XamarinDownloadArchives" task. Verify the parameter exists on the task, and it is a settable public instance property.

@ondrejnovotny
Copy link

Having the same issue

@cristiandaulisio
Copy link

me too

@mofdaddy
Copy link

mofdaddy commented Nov 5, 2021

One developers in our team have this issue as well.
The difference is that he is the only developer on this project who is on Windows, the rest is on macOS.
None of the developers on mac have this issue.
Any clues?

@SolitudeEntertainment
Copy link

Anyone solve this? im getting it as well...

@brightraudona
Copy link

Me too, and it seams to come out of nowhere.

@inforithmics
Copy link

inforithmics commented May 31, 2022

I have the same Problem with Visual Studio 2022. Strangely when I use Jetbrains Rider for deploying it works.

@inforithmics
Copy link

inforithmics commented May 31, 2022

Probably caused by this #1368
Because here the AndroidFixManifests was removed.

Workaround: referencing a previous Version:

Adding following to the Android Project solves this (uses Xamarin.Build.Download Version that has still this Attribute)

<PackageReference Include="Xamarin.Build.Download">
      <Version>0.11.1</Version>
</PackageReference>

@AlexanderVanMeerten
Copy link

I get this error while building the iOS project. Very strange.

@ewerspej
Copy link

I get this error while building the iOS project. Very strange.

Same here, only started recently.

This only occurs when I build with macOS, on Windows everything builds fine. I've just disabled the Android build for Release builds of my Xamarin app for iOS in order to be able to publish iOS builds.

@XDarinor
Copy link

I get this error while building the iOS project. Very strange.

Me too. Got the error building for iOS.

@AlexanderVanMeerten
Copy link

AlexanderVanMeerten commented Nov 26, 2022

It is very annoying. Switching between Debug|Phone and Debug|Simulator sometimes fixes it. Or closing re-opening VS. But suddenly this error is back again. I think it started when I installed the pre-release for 17.4 (which I now delete) and am using stable version 17.4.
And why does AndroidFixManifests have anything to do with iOS? Building for Android is working without problem.

@kunalprakash3891
Copy link

Having the same. Quite frustrating, seems to happen completely at random.

@johnrah
Copy link

johnrah commented Dec 1, 2022

I had this error due to Xamarin.Build.Download missing from NuGet.

  • Fixed by opening Tools->Nuget Package Manager->Manage NuGet Packages for Solution...
  • On the Browse tab, search for Xamarin.Build.Download
  • Ensure it is installed for all of the projects and that they are the same version (0.11.4)
  • Then Clean Solution followed by Rebuild Solution.

@kunalprakash3891
Copy link

Thank you @johnrah, you're a legend! Installing the Xamarin.Build.Download package fixed it for me.

@faceoffers28
Copy link

Just encountered this issue when upgrading my .Net Maui Android app to .Net 7.0. @johnrah suggestion fixed the problem.

@AlexanderVanMeerten
Copy link

@johnrah suggestion fixed the problem. Thanks a million!

@seanstilson
Copy link

Me as well, thanks much, excellent solution!

@eyeveye
Copy link

eyeveye commented Mar 8, 2023

Fixed by opening Tools->Nuget Package Manager->Manage NuGet Packages for Solution...
On the Browse tab, search for Xamarin.Build.Download
Ensure it is installed for all of the projects and that they are the same version (0.11.4)
Then Clean Solution followed by Rebuild Solution.

This solution work for Maui net6.0 project.
@johnrah Thanks.

@glintpursuit
Copy link

Thanks @johnrah

@MarkMcCormackSF
Copy link

Hey thanks @johnrah, I was getting this out of the blue on a Maui net6.0 project. It was strange, as I was trying to build for iOS at the time.

@Halepopoulos
Copy link

nice one. Worked for me too, this nuget package.

@sandipagrawal100
Copy link

sandipagrawal100 commented Aug 8, 2023

@johnrah 's suggestion to add package Xamarin.Build.Download fixed for me 👍

@derekvantonder
Copy link

Thanks @johnrah that helped me

@ameralfaqeeh
Copy link

I had this error due to Xamarin.Build.Download missing from NuGet.

  • Fixed by opening Tools->Nuget Package Manager->Manage NuGet Packages for Solution...
  • On the Browse tab, search for Xamarin.Build.Download
  • Ensure it is installed for all of the projects and that they are the same version (0.11.4)
  • Then Clean Solution followed by Rebuild Solution.

Thanks, it works now.

@thomasgalliker
Copy link

@johnrah what is Xamarin.Build.Download and why can I build my .NET MAUI app once and it fails 2mins later - without any code change? Just curious...

@johnrah
Copy link

johnrah commented Nov 7, 2023

@johnrah what is Xamarin.Build.Download and why can I build my .NET MAUI app once and it fails 2mins later - without any code change? Just curious...

Xamarin.Build.Download provides support for downloading and unpacking archives when building MSBuild projects
https://www.nuget.org/packages/Xamarin.Build.Download/

As for the reliability of .NET MAUI, it is very fickle. It's getting better with every update, though.

@Manish-Pradhan-FP
Copy link

OMG this saved my day big time. Thank you!!

@wolfgangschneider
Copy link

Thanks This saved may day, today not the last two ones. solving some cryptical build and deployment (IOS) errors ends up with a new one and so on. Spend the last two days without writing one line of code. Its frustrating. I was a great fan of xamarin forms . But now as a SW Architect I cannot suggest using Maui for real live projects.
@johnrah dotnet Maui is still very fickle.

@jeff-eats-pubsubs
Copy link

Thanks @johnrah! This stopped the sporadic build issues

@glintpursuit
Copy link

I have move on to Flutter from last 1 year.
Didn't got any issues around packages, builds. very very fast for development.

@datvm
Copy link

datvm commented Aug 16, 2024

I am still having this issue and like others said strangely only happen to iOS builds (Windows, Android and Mac Catalyst build without any issue). Adding the package even only for iOS (with Condition attribute) fixes it.

This happens when building on a Windows with or without Pair to Mac.

@datvm
Copy link

datvm commented Sep 25, 2024

I don't know when or what happened but after a recent update, Xamarin.Build.Download is probably added back to the default iOS build. I now receive a duplicate package error until I remove it and I can build iOS apps normally without that package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests