問題が見つかりました。App.Xaml.cs で、次の重大な間違いを犯しました。
これが私のコードです:
private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
{
// Set the root visual to allow the application to render
if (RootVisual != null && RootVisual != RootFrame)
RootVisual = RootFrame;
// Remove this handler since it is no longer needed
RootFrame.Navigated -= CompleteInitializePhoneApplication;
}
そして、これが本来あるべき姿です:
private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
{
// Set the root visual to allow the application to render
if (RootVisual != RootFrame)
RootVisual = RootFrame;
// Remove this handler since it is no longer needed
RootFrame.Navigated -= CompleteInitializePhoneApplication;
}
Resharper は、最初に RootVisual が null であるかどうかを確認するのが最善であると考えました。明らかに RootVisual が設定されていないため、起動時の PNG でハングアップし、ロードされないため、信じられないほど苛立たしい間違いです。