Singleproject Maui Android net8.0 | required location of AndroidManifest.xml changed after upgrading?

No_Focus 25 Reputation points
2023-11-23T11:13:20.91+00:00

I have experienced that after upgrading my project to net8.0 that the required location for the Manifest has changed from Platforms/Android to the root of the project.

I have the feeling that this was not intended or even a bug, the lack of documentation on a change like this is one of the reasons for my suspicion.

My question is if this is a bug and/or how i could fix this inside my project.

Developer technologies .NET .NET MAUI
Developer technologies .NET Other
Developer technologies C#
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2023-11-24T05:27:51.6833333+00:00

    Hello,

    My question is if this is a bug and/or how i could fix this inside my project.

    This is a mistake.

    The MAUI project structure in DotNet 8 has not changed from previous versions.

    According to my tests, this issue does not occur after upgrading with the official upgrade assistant or manually through Upgrading .NET MAUI from .NET 7 to .NET 8.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


0 additional answers

Sort by: Most helpful

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.