I am using visual studio 2017 to create the default Xamarin Forms PCL project in C#. If I make any error in the XAML the InitializeComponent() call hangs. There are no editor, compiler, builder, or run-time errors. Is there a way to research the cause of the error? I'm pretty sure Visual Studio 2015 threw a run-time error.
Here is an example with a reference to a missing style. This causes InitializeComponent() to hang. I am using the VisualStudio_android-23_x86_phone emulator and VS does the same thing for every emulator I've tried and also my Samsung Note 4. Thanks.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Broken"
x:Class="Broken.MainPage">
<Label Text="Welcome to Xamarin Forms!"
VerticalOptions="Center"
HorizontalOptions="Center"
Style="{StaticResource myStyle}"/>
</ContentPage>