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

No_Focus 25 Reputation points

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.

Microsoft Technologies based on the .NET software framework.
3,624 questions
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,630 questions
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,911 Reputation points Microsoft Vendor


    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