Open ruhanijeb opened 3 years ago
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.
Having the same issue
me too
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?
Anyone solve this? im getting it as well...
Me too, and it seams to come out of nowhere.
I have the same Problem with Visual Studio 2022. Strangely when I use Jetbrains Rider for deploying it works.
Probably caused by this https://github.com/xamarin/XamarinComponents/pull/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>
I get this error while building the iOS project. Very strange.
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.
I get this error while building the iOS project. Very strange.
Me too. Got the error building for iOS.
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.
Having the same. Quite frustrating, seems to happen completely at random.
I had this error due to Xamarin.Build.Download missing from NuGet.
Thank you @johnrah, you're a legend! Installing the Xamarin.Build.Download package fixed it for me.
Just encountered this issue when upgrading my .Net Maui Android app to .Net 7.0. @johnrah suggestion fixed the problem.
@johnrah suggestion fixed the problem. Thanks a million!
Me as well, thanks much, excellent solution!
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.
Thanks @johnrah
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.
nice one. Worked for me too, this nuget package.
@johnrah 's suggestion to add package Xamarin.Build.Download fixed for me 👍
Thanks @johnrah that helped me
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.
@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 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.
OMG this saved my day big time. Thank you!!
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.
Thanks @johnrah! This stopped the sporadic build issues
I have move on to Flutter from last 1 year. Didn't got any issues around packages, builds. very very fast for development.
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.
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.
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.