Original Get Intellisense for. axml files in Visual Studio
So-in order-get some IntelliSense for. axml files, we'll add the required Schema.
Let's follow certain steps and see where we land:
1. Open the. axml file
2. Select Designer in the source view.
3. From the menu bar, select XML-Schemas ...
4. In the XML Schemas Dialog, click on Add
5. Navigate to C:\Program Files (x86) \msbuild\xamarin\android
6. Select android-layout-xml.xsd and click on Open.
7. Click on OK to confirm and dismiss the dialog.
------------------------------------
When you manually edit. axml files inside Visual Studio No minimal IntelliSense support, and as Visu Al Studio user, know how frustrating are typing without any kind of help.
Since editing the same file using the XML editors brings you a ' partial ' IntelliSense I tried to find what is the Differe nCE and finally found how to enable it also inside Android designer Source view.
- 1-with Designer in Source view, select Visual Studio's XML menu and then Schemas ...
- 2-navigate to C:\Program Files (x86) \msbuild\xamarin\android and select android-layout-xml.xsd file.
- 3-click Ok to confirm and dismiss the dialog.
- Here's what you are get when typing android:in Source view:
Get Intellisense for. axml files in Visual Studio