Bug 57746 - XAML IntelliSense fails in UWP project
Summary: XAML IntelliSense fails in UWP project
Status: RESOLVED UPSTREAM
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.5.0 (15.2)
Hardware: PC Windows
: Normal normal
Target Milestone: 15.4
Assignee: Adrian Alonso
URL:
: 55638 ()
Depends on:
Blocks:
 
Reported: 2017-06-24 22:13 UTC by Edward Brey
Modified: 2017-07-03 16:23 UTC (History)
7 users (show)

Tags:
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:
Status:
RESOLVED UPSTREAM

Description Edward Brey 2017-06-24 22:13:50 UTC
If you add a Xamarin.Forms XAML file to a UWP project, IntelliSense shows lots of errors such as "The type 'ContentPage' was not found." It also doesn't suggest any Xamarin.Forms controls when you type in new XAML.

Repro:

1. Create a blank Universal Windows App.
2. Add the Xamarin.Forms NuGet package.
3. Add a Xamarin.Forms Content Page called Page1.
4. Open Page1.xaml.
==> Notice lots of IntelliSense errors.
5. Build the solution.
==> The IntelliSense errors go away (for the moment).
6. Add another label under '<Label Text="Welcome to Xamarin Forms!" />'.
==> Notice IntelliSense doesn't work correctly when you start typing '<Label>'. Also notice that when you start typing, all the IntellSense errors come back.
Comment 1 Jimmy [MSFT] 2017-06-26 20:27:45 UTC
Assigning to the VS team for additional investigation for now unless its determined to be a Forms issue.
Comment 2 Adrian Alonso 2017-06-28 13:50:36 UTC
Hi Edward,

I will synch up with the Authoring team (XAML) and investigate why the intellisense is not working in the context of a UWP project.

Sorry for inconvenience and I will keep you posted.
Thanks,
Adrian
Comment 3 Adrian Alonso 2017-07-03 16:22:18 UTC
*** Bug 55638 has been marked as a duplicate of this bug. ***
Comment 4 Adrian Alonso 2017-07-03 16:23:35 UTC
Hi Edward,

I could confirm this is an issue in the core xaml editor and it should be fixed by the authoring team in 15.4. Thanks for reporting this. Adrian