Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Intellisense issues with XAML based views in PCL using any version Xamarin.Forms 1.4+

$
0
0

I created a Xamarin.Forms PCL project in Visual Studio 2015 Enterprise and added some views, viewmodels, etc and everything seemed to be fine. The project template seems to come with Xamarin.Forms nuget package 1.3. When I updated the Nuget package to the latest version of Xamarin.Forms, Visual Studio says there are intellisense issues saying InitializeComponent does not exist as well as any other named-controls defined in the xaml.

The project still builds successfully, however there are now tons of intellisense-errors.

I have found that if I update the nuget package of Xamarin.Forms to anything after 1.3.5.6335 (basically any version 1.4 or greater) this problem occurs.

After some Googling it appears there is some history regarding this issue, or something similar, but appears that those discussions had to do with iOS and/or shared projects, which does not seem to apply. Also, those discussions seem to be over a year old.

All xaml files are marked as an Embedded Resource and have a custom tool of MSBuild:UpdateDesignTimeXaml which I believe both are correct.

Does anyone know how to resolve this?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>