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.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,624 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 questions
C#
C#
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
    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