diff --git a/Samples/WindowsML/cs-winui/App.xaml.cs b/Samples/WindowsML/cs-winui/App.xaml.cs index 5daafe19a..cb3f1fc38 100644 --- a/Samples/WindowsML/cs-winui/App.xaml.cs +++ b/Samples/WindowsML/cs-winui/App.xaml.cs @@ -11,6 +11,11 @@ namespace WindowsMLSample { public partial class App : Application { + public App() + { + this.InitializeComponent(); + } + protected override void OnLaunched(LaunchActivatedEventArgs args) { Window = new MainWindow();