question

88769490 avatar image
0 Votes"
88769490 asked NicoleLu-9366 commented

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

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]: /answers/storage/attachments/82000-image.png

dotnet-xamarin
image.png (25.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ColeXia-MSFT avatar image
0 Votes"
ColeXia-MSFT answered NicoleLu-9366 commented

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.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried the above option. It doesn't work. There is actualy AndroidManifest.xml file exist in obj/Debug/android/AndroidManifest.xml, but can't be found by editor.

0 Votes 0 ·

Normal suggestion :

  • Try to create a new blank project to see if problem persists.

  • Try to repair/Update your visual studio .

  • Restart visual studio .


0 Votes 0 ·

I have tried all of the recommended approaches.There is a manifest file created in blank new project, of course. Also update mac os to last version, respectively windows too. We have a deadline coming closer...

0 Votes 0 ·
Show more comments