diff --git a/templates/xunit.uwp.template/App.xaml.cs b/templates/xunit.uwp.template/App.xaml.cs index 7ebf09e..a0a7c6e 100644 --- a/templates/xunit.uwp.template/App.xaml.cs +++ b/templates/xunit.uwp.template/App.xaml.cs @@ -28,22 +28,5 @@ protected override void OnInitializeRunner() { AddTestAssembly(typeof(App).GetTypeInfo().Assembly); } - - protected override void OnLaunched(LaunchActivatedEventArgs e) - { - // Start the test runner if we have args - if (!string.IsNullOrWhiteSpace(e.Arguments)) - { - Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.CreateDefaultUI(); - // Ensure the current window is active - Window.Current.Activate(); - - Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(e.Arguments); - } - else - { - base.OnLaunched(e); - } - } } }