Bug 1871 - using <View> in axml file breaks vs.net intellisense
Summary: using <View> in axml file breaks vs.net intellisense
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 3.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
Depends on:
Reported: 2011-11-03 21:35 UTC by Roman Kalantari
Modified: 2016-12-23 03:03 UTC (History)
8 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Roman Kalantari 2011-11-03 21:35:47 UTC
When using <View> in an axml file, visual studio will not provide intellisense for anything after it in the layout file.
Comment 1 Jonathan Pobst 2011-11-21 15:19:26 UTC
This also occurs for <include>.


Basically, using anything that is not specified by the schema causes intellisense to break.
Comment 2 Jonathan Pryor 2013-01-28 21:28:06 UTC
Workaround: http://forums.xamarin.com/discussion/comment/3154/#Comment_3154
Comment 3 moljac 2013-03-09 14:28:44 UTC

After this workaround default opening of axml files with Designer is gone.

I have found that it might not be XSD problem and locations of schemas, but rather VS API for loading file.

After accidentally introducing error in axml I have double-clicked on error in Error window. Axml opened in XML source editor, but w/o intellisense, subsequent double-click opened file in xml source editor but WITH intellisense.

Screencast: http://www.youtube.com/watch?v=mfpedsnjusA
Comment 4 Jose Gallardo 2016-12-23 03:03:15 UTC
As we've added several improvements to our build system and deploying/debugging mechanism since the bug was reported, I'm resolving it tentatively as Fixed.
That said, if you're still facing this issue with current bits, please feel free to reopen the bug.