During the methode
InitializeComponent()
in the main class of a customized control occurs the error with the follow message:¨
Message "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Windows.UI.Xaml.Markup.XamlParseException: Der Text zu diesem Fehlercode wurde nicht gefunden.
Cannot create instance of type 'Uwp.UI.Control.OneNotePicker.OnenotePicker' [Line: 37 Position: 42]
at Windows.UI.Xaml.Application.LoadComponent(Object component, Uri resourceLocator, ComponentResourceLocation componentResourceLocation)
at TestEnvironment.Uwp.MainPage.InitializeCom" string
This error is an unhandled exception and is shown with a debug break under App.g.i.cs
UnhandledException += (sender, e) =>
{
if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
};
It seems, there is an error during parsing the Xaml file. My question is now, how I can find exactly the row of the Xaml file, where the error occurs.
Thanks for help
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…