Get Intellisense for. axml files in Visual Studio

Source: Internet
Author: User

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. 1-with Designer in Source view, select Visual Studio's XML menu and then Schemas ...
    2. 2-navigate to C:\Program Files (x86) \msbuild\xamarin\android and select android-layout-xml.xsd file.
    3. 3-click Ok to confirm and dismiss the dialog.
    4. Here's what you are get when typing android:in Source view:

Get Intellisense for. axml files in Visual Studio

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.