AndroidManifest not editable from VS-for-Windows after migration from VS-for-Mac

Деян Цонев 21 Reputation points
2021-03-28T14:34:30.947+00:00

I have open an issue vie visual studio reporting tool, but unfortunately i still not have feedback from microsoft team. I have project with a Xamarin application, developed and deployed for more than an year on Visual Studio for Mac. Now I need to migrate the project from MacOS to Windows. Everything seemed fine after opening the Solution, except the AndroidManifest.xml. Although it is present, the Project properties -> Android Manifest cannot find and parse the file in Debug mode. If I switch the target to Release, it somehow manages to open it and the Android Manifest editor appears correctly. We have a deadline with release a new version on AppStore and Google Play and will really appreciate your help. We are pressed by a deadline and i need to get this work properly soon , so that i can finish my task. Do please help us. Thank you in advance! ![82000-image.png][1] [1]: /api/attachments/82000-image.png?platform=QnA

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,756 Reputation points
    2021-03-29T08:40:29.583+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Could you check if AndroidManifest.xml file exist in obj/Debug/android/AndroidManifest.xml ?

    If there is no such a file , try to delete bin and obj folder and rebuild .

    If problem persists , create a new xml file named AndroidManifest and copy the value from Properties/AndroidManifest into it .


    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.


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.