microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

[Xamarin.Forms][Android] XA3001: Could not AOT the assembly: Microsoft.Graph.dll

Open
#1,957 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug
After upgrading to Microsoft.Graph 5.x (from 4.x) I'm seeing the following error creating a release Android archive build:

XA3001: Could not AOT the assembly: Microsoft.Graph.dll

To Reproduce
I do not know if this reproduces 100% on all Xamarin.Forms Android projects or not.

Expected behavior
I'd expect to be able to successfully AOT this assembly.

Please let me know if you need additional information for this one. I will likely have to revert to 4.x.

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the XA3001 failure in a Xamarin.Forms Android release archive build with Microsoft.Graph 5.x, then compare it with 4.x. No source files or tests are named; done means identifying a supported change that allows Microsoft.Graph.dll to complete AOT successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.