我在 VS2012 中创建了一个新的 SplitPage,并加载了这个页面:
this.Frame.Navigate(typeof(SplitPage), "AllGroups");
抛出错误:
this.InitializeComponent();
Visual Studio 向我展示了这个异常:
An exception of type 'Windows.UI.Xaml.Markup.XamlParseException' occurred
in IC2.exe but was not handled in user code
WinRT information: Cannot find a Resource with the Name/Key SubtitleTextStyle
[Line: 88 Position: 104]
如果我发现错误,我发现了消息:
Unspecified error
我怎样才能避免这个错误?