Monday 15 August 2011

Xamarin.Android Intellisense not working in Visual Studio 2010 -


I'm testing Xamarin. Android in Visual Studio 2010 and I have noticed that when I'm working, I do not have Android Intelligence in an Android layout (.xml) file, however, when I'm working in .cs file, then I get Android Intelligence is.

Example:

Here is a screenshot of my main.xml file which resides in my layout directory. Note that there is nothing involved in intellisense within the Android namespace.

Android Intelligence Example

In the Android Namespace .xml file What do I need to do to display?

posted an answer that worked for me ()

Kannan here The solution is:


Most of the people working with zamarian ??? Android has to face a bug in Visual Studio 2012, where Intelligence works in Sources for SXL.

One of the fixes that worked for me is outlined below.

  1. Launch Visual Studio 2012
  2. Open an .xml file in
  3. Now the XML main menu should appear at the top Open A ???? Schemasâ ?? | Â ???? Menu
  4. View the Sort column by file name and see if the Android-layout-xll and schemas.android.com.apk.res.androidâ € ™ There are If found, go to step 13
  5. If not found, go to "Program Files" if 32-bit system or program files (x86) are 64-bit systems.
  6. Then a "???" \ MSBuild \ Novellâ € ™ Go on or go to a ???? \ MSBuild \ Xamarin \ Android You have 2 files android-layout-xml.xsd and "schemas.android.com.apk.res.android.xsdac ????
  7. These 2 files together \ Microsoft \ Visual Studio 11.0 \ Xml \ Copy to Schemasâ? ???
  8. Reopen "Schemas" ??? menu as mentioned in steps 3 and 4
  9. Now click on "App" ??? Click on the? | ??? button and add these 2 files which are step 7 and 8
  10. Restart the Visual Studio now and should work fine with XML Editor Intelligence for design layout
  11. Step 5 to ?? | | ...
  12. If there are steps given above? If you work, then close Visual Studio 2012.
  13. Now Open the Developer Command Prompt for VS 2012 under the Windows menu.
  14. Type ?? Devain / Reset Settings without quotes.
  15. Launch Visual Studio 2012 and see if Intelligence Whether it works or not.
  16. If still not working, go to the Zaminin forum and post it there.

No comments:

Post a Comment