From d518c74e77b797585fc99c7f430261c30b3215d8 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 21 Mar 2024 23:35:44 +0100 Subject: [PATCH] Make WPF project bootable --- Tasks/UrlTester/{DT3 => }/App.xaml | 0 Tasks/UrlTester/{DT3 => }/App.xaml.cs | 0 Tasks/UrlTester/{DT3 => }/AssemblyInfo.cs | 0 Tasks/UrlTester/DT2/DT2.cs | 2 ++ Tasks/UrlTester/{DT3 => }/MainWindow.xaml | 0 Tasks/UrlTester/{DT3 => }/MainWindow.xaml.cs | 0 Tasks/UrlTester/UrlTester.csproj | 4 ++++ 7 files changed, 6 insertions(+) rename Tasks/UrlTester/{DT3 => }/App.xaml (100%) rename Tasks/UrlTester/{DT3 => }/App.xaml.cs (100%) rename Tasks/UrlTester/{DT3 => }/AssemblyInfo.cs (100%) rename Tasks/UrlTester/{DT3 => }/MainWindow.xaml (100%) rename Tasks/UrlTester/{DT3 => }/MainWindow.xaml.cs (100%) diff --git a/Tasks/UrlTester/DT3/App.xaml b/Tasks/UrlTester/App.xaml similarity index 100% rename from Tasks/UrlTester/DT3/App.xaml rename to Tasks/UrlTester/App.xaml diff --git a/Tasks/UrlTester/DT3/App.xaml.cs b/Tasks/UrlTester/App.xaml.cs similarity index 100% rename from Tasks/UrlTester/DT3/App.xaml.cs rename to Tasks/UrlTester/App.xaml.cs diff --git a/Tasks/UrlTester/DT3/AssemblyInfo.cs b/Tasks/UrlTester/AssemblyInfo.cs similarity index 100% rename from Tasks/UrlTester/DT3/AssemblyInfo.cs rename to Tasks/UrlTester/AssemblyInfo.cs diff --git a/Tasks/UrlTester/DT2/DT2.cs b/Tasks/UrlTester/DT2/DT2.cs index 6401c55..3071a9b 100644 --- a/Tasks/UrlTester/DT2/DT2.cs +++ b/Tasks/UrlTester/DT2/DT2.cs @@ -149,6 +149,7 @@ namespace DT2 { LoadSummary("Total", totalSize, (int)sw.Elapsed.TotalMilliseconds); } +#if DT2 public static void Main(string[] args) { Console.WriteLine("Starting ..."); UrlTester urlTester = new UrlTester(); @@ -161,5 +162,6 @@ namespace DT2 { Console.Write("Press any key to continue ...\n"); Console.ReadKey(true); } +#endif } } \ No newline at end of file diff --git a/Tasks/UrlTester/DT3/MainWindow.xaml b/Tasks/UrlTester/MainWindow.xaml similarity index 100% rename from Tasks/UrlTester/DT3/MainWindow.xaml rename to Tasks/UrlTester/MainWindow.xaml diff --git a/Tasks/UrlTester/DT3/MainWindow.xaml.cs b/Tasks/UrlTester/MainWindow.xaml.cs similarity index 100% rename from Tasks/UrlTester/DT3/MainWindow.xaml.cs rename to Tasks/UrlTester/MainWindow.xaml.cs diff --git a/Tasks/UrlTester/UrlTester.csproj b/Tasks/UrlTester/UrlTester.csproj index deca785..f1a4aca 100644 --- a/Tasks/UrlTester/UrlTester.csproj +++ b/Tasks/UrlTester/UrlTester.csproj @@ -8,6 +8,10 @@ true + + $(DefineConstants);DT3 + +