We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 152c515 commit 49354a7Copy full SHA for 49354a7
Tetris/App.xaml.cs
@@ -20,7 +20,9 @@ public partial class App : Application
20
private static extern bool AllocConsole();
21
protected override void OnStartup(StartupEventArgs e)
22
{
23
+#if DEBUG
24
AllocConsole();
25
+#endif
26
base.OnStartup(e);
27
}
28
Tetris/Tetris.csproj
@@ -5,7 +5,7 @@
5
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
<ProjectGuid>{672ADF65-0B89-4D13-88C4-5C7C49535395}</ProjectGuid>
8
- <OutputType>Exe</OutputType>
+ <OutputType>WinExe</OutputType>
9
<AppDesignerFolder>Properties</AppDesignerFolder>
10
<RootNamespace>Tetris</RootNamespace>
11
<AssemblyName>Tetris</AssemblyName>
0 commit comments