Xamarin archives not appearing in VS - cannot build archives

capsicum 101 Reputation points
2021-01-09T13:18:09.35+00:00

I cannot see any archives in Archive Manager, and when commanding "Archive..." project in Solution Explorer, no new archives appear, despite no visible errors.

This worked fine a few weeks ago (even though mainaining a seesion with the mac long enough for a build could literally take 2 days of cleaning, restarting, rebooting, etc).

Nothing appears in the Archive manager.

I uninstalled VS, reinstalled, and I could archive an Android build, but not the iOS version.
Closed VS, reopened, and the Android archive had gone.
Since then, I cannot archive either project..

Both Android & iOS project build, and run on devices just fine.

Help???! I've already been trying everything I can for three days..


Microsoft Visual Studio Community 2019 Preview
Version 16.9.0 Preview 2.0
VisualStudio.16.Preview/16.9.0-pre.2.0+30803.129
Microsoft .NET Framework
Version 4.8.04084

Installed Version: Community

ASP.NET and Web Tools 2019 16.9.311.8738
ASP.NET and Web Tools 2019

Azure App Service Tools v3.0.0 16.9.311.8738
Azure App Service Tools v3.0.0

C# Tools 3.9.0-2.20602.2+eb0a7ff1c241695e17b07b096593804fdd5cfcfd
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus 1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio 16.9.7 (df23ba6)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager 5.9.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

TypeScript Tools 16.0.21120.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 3.9.0-2.20602.2+eb0a7ff1c241695e17b07b096593804fdd5cfcfd
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 16.9.0-beta.20567.7+c02b2ef997f1dd07993e1f85b017c858bdf82530
Microsoft Visual F# Tools

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Unity 4.9.0.0
Visual Studio Tools for Unity

VisualStudio.DeviceLog 1.0
Information about my package

VisualStudio.Foo 1.0
Information about my package

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Xamarin 16.9.000.196 (main@7f5b5b9)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.9.0.105 (remotes/origin/c2adbf832aee3f27874ac90b17c433d311053b06@c2adbf832)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.9.41 (0d792de)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 11.1.99.218 (master/9bc0003)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: ac59637
Java.Interop: xamarin/java.interop/master@99897b2
ProGuard: Guardsquare/proguard/v7.0.0@84e8560
SQLite: xamarin/sqlite/3.32.1@1a3276b
Xamarin.Android Tools: xamarin/xamarin-android-tools/main@ab650f5

Xamarin.iOS and Xamarin.Mac SDK 14.9.0.27 (f4c9327fa)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
{count} vote

4 answers

Sort by: Most helpful
  1. Ibrahim 11 Reputation points
    2021-03-21T14:48:23.613+00:00

    Try Repair Android SDK

    I got the same problem and after repairing the SDK, and reopen the solution, the "Archive" Appears again

    Tools ---> Android ----> Android SDK Manager

    2 people found this answer helpful.

  2. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
    2021-01-11T07:59:48.833+00:00

    Hello,

    Welcome to Microsoft Q&A!

    I test to archive android and iOS project with Visual Studio 16.8.2 , everything works fine .

    I suggest you install the latest stable version 16.8.3 instead of the preview version 16.9.0.

    Thank you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Quinton Viljoen 1 Reputation point
    2021-04-18T07:40:23.363+00:00

    When I switch my solution to release mode then the archive option appears again

    0 comments No comments

  4. SalesOutlook 61 Reputation points
    2024-07-10T14:54:11.9833333+00:00

    Xamarin is no longer supported as of May 2024

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.