Conditional release auto reboot
Added conditional release var and reboot code.
This commit is contained in:
parent
62e6a527db
commit
44e6b64be5
|
|
@ -3,7 +3,7 @@
|
||||||
<Platform Name="Any CPU" />
|
<Platform Name="Any CPU" />
|
||||||
<Platform Name="x64" />
|
<Platform Name="x64" />
|
||||||
</Configurations>
|
</Configurations>
|
||||||
<Project Path="DataDeath/DataDeath.csproj">
|
<Project Path="DataDeath/DataDeath.csproj" Id="dd6531d7-ced1-4df1-bc08-13ec2bca096d">
|
||||||
<Platform Solution="*|x64" Project="x64" />
|
<Platform Solution="*|x64" Project="x64" />
|
||||||
</Project>
|
</Project>
|
||||||
</Solution>
|
</Solution>
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||||
<OutputPath>bin\x64\Release\</OutputPath>
|
<OutputPath>bin\x64\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE;RELEASE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
|
|
||||||
|
|
@ -121,8 +121,14 @@ namespace DataDeath
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Reboot();
|
#if DEBUG
|
||||||
|
Console.WriteLine("Press Enter to exit...");
|
||||||
Console.ReadLine();
|
Console.ReadLine();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if RELEASE
|
||||||
|
Reboot();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Reboot()
|
public static void Reboot()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user