Throws NotImplementedException on non-XAML builds