Make WPF project bootable
This commit is contained in:
parent
da89471f75
commit
d518c74e77
|
@ -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
|
||||
}
|
||||
}
|
|
@ -8,6 +8,10 @@
|
|||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<DefineConstants>$(DefineConstants);DT3</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.ObjectModel" Version="4.3.0" />
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in a new issue