Make WPF project bootable

This commit is contained in:
Manuel Thalmann 2024-03-21 23:35:44 +01:00
parent da89471f75
commit d518c74e77
7 changed files with 6 additions and 0 deletions

View file

@ -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
}
}

View file

@ -8,6 +8,10 @@
<UseWPF>true</UseWPF>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>$(DefineConstants);DT3</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.ObjectModel" Version="4.3.0" />
</ItemGroup>