I am developing a UWP application with Visual Studio 2015, and one of the things I want to use is using some sample data during development.
Now I added the XAML file, set the build action as DesignDataWithDesignTimeCrateableTypes
My Haml is really right here:
<local:Freead
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:MyNamespace.Uwp.Windows.ViewModels"
xmlns:ad="clr-namespace:MyNamespace.Classifieds;assembly=LocalAngle.Uwp"
ItemName="Java books"
Description="Free to anyone that wants them. A little out of date, but would make a handy doorstop."
ContactDetails="01632 960000"
Latitude="52.22" Longitude="1.95">
</local:Freead>
However, intellisense gives me a pale blue wavy line and a tooltip for the tooltip:
Unable to create instance of "Freead".
Historically, I was able to debug XAML design problems by including another instance of Visual Studio in it, attaching and configuring to break all exceptions, but there are no exceptions, so how can I debug the reasons it cannot create an instance of the type? (Given the obvious, it has already been tested, i.e. there is a constructor without parameters and a solution construction)