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

InitializeComponent does not exist

$
0
0

Hi, I'm having difficulties on XAML files in a Sheared project.

Using Xamarin Studio;
What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The name InitializeComponent does not exist in this context" error (please refer the screen shot).

Hopefully someone could help me..

Also, when I remove a xaml file from the project by clicking "Remove" and select "Delete", and create and add a xaml file with the same name again, it shows multiple .cs files under the xaml file. It's not critical but it's a bit annoying. (see the screen shot too) This happens regardless if it's in Sheared project or not.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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