Archives not showing in Archive Manager in Visual Studio 2022 version 17.7.6 for a .NET MAUI project [ .net 6]
08:02 26 Apr 2024

When attempting to publish my .NET MAUI project, which utilizes the .NET 6 workload, I encountered an issue. Specifically, when selecting the Android emulator or a physical device as the target platform, the archive is not being displayed in the archive manager. Instead, it is being created in the local path [C:\Users\SMR\AppData\Local\Xamarin\Mono for Android\Archives]. Consequently, I am unable to distribute the app or provide a test release. This problem persists even when targeting the iOS platform. I would greatly appreciate assistance in resolving this issue.

Archive Manager: Archive Manager

And also as you can see in the above image, I am not able to see my projects under the current solution section which in turn is an issue I believe.

I have tried to change the archive path to a different path other than the default location, but the result is the same, I am still not able to any archives in the archive manager.

c# .net maui