Make WPF project bootable
This commit is contained in:
parent
da89471f75
commit
d518c74e77
7 changed files with 6 additions and 0 deletions
|
@ -149,6 +149,7 @@ namespace DT2 {
|
||||||
LoadSummary("Total", totalSize, (int)sw.Elapsed.TotalMilliseconds);
|
LoadSummary("Total", totalSize, (int)sw.Elapsed.TotalMilliseconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DT2
|
||||||
public static void Main(string[] args) {
|
public static void Main(string[] args) {
|
||||||
Console.WriteLine("Starting ...");
|
Console.WriteLine("Starting ...");
|
||||||
UrlTester urlTester = new UrlTester();
|
UrlTester urlTester = new UrlTester();
|
||||||
|
@ -161,5 +162,6 @@ namespace DT2 {
|
||||||
Console.Write("Press any key to continue ...\n");
|
Console.Write("Press any key to continue ...\n");
|
||||||
Console.ReadKey(true);
|
Console.ReadKey(true);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,6 +8,10 @@
|
||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<DefineConstants>$(DefineConstants);DT3</DefineConstants>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="System.ObjectModel" Version="4.3.0" />
|
<PackageReference Include="System.ObjectModel" Version="4.3.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue