Anton Kahwaji
Anton Kahwaji

Reputation: 467

I can't find Main.axml in any Android Template, nor can I open other axml files

Edit: I also forgot to mention that I tried running Visual Studio as administrator with all the templates up and I still got the same results

Edit2: I figured out that in another place I found the native cross-platform app that has an Main.axml for android

but I can't open it (same problem from before) so I guess I'm missing the Android Designer, any way how to fix that? I can't find anything on google

Original:

First of all, I want to say that I spend 2 days searching the internet and I couldn't find any solutions, I really tried everything, and I have had many many problems with xamarin, here is what I have and what I tried

Here is what I find when I open any of the following templates

But none of these axml files can be opened (visual studio freezes and then I have to close it from task manager (I even tried waiting up to an hour, I think in the bottom left it says "item does not support viewing" or something like that))

I would really be very very happy if anyone can help me

links I used:

https://learn.microsoft.com/en-us/xamarin/cross-platform/get-started/installation/windows https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/windows https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-sdk?ide=vs&tabs=vswin https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/index

Upvotes: 2

Views: 1346

Answers (1)

York Shen
York Shen

Reputation: 9084

But none of these axml files can be opened --> visual studio freezes and then I have to close it from task manager

This is an issue of Visual Studio 15.7.3, Xamarin team is generating updated builds right now.

For now, here are some workaround:

  • If you need to open a .axml file in VS 15.7.3, you could change its extension name to .xml then open it.

Or:

  • Right-click the .axml file then use "open with" --> eg: choose XML Editor

Update:

Xamarin Team has been generated updated builds to resolve this issue and it only works for VS 15.7.3, for detailed information you could refer to:

Fixed:

Visual Studio 15.7.4 has been released and this issue is fixed:

Upvotes: 1

Related Questions