Skip to content

Commit 141fecb

Browse files
committed
Enable DEBUG in release
1 parent 33e4a13 commit 141fecb

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

MCLauncher/MCLauncher.csproj

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@
1414
<WarningLevel>4</WarningLevel>
1515
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1616
<Deterministic>true</Deterministic>
17+
<PublishUrl>publish\</PublishUrl>
18+
<Install>true</Install>
19+
<InstallFrom>Disk</InstallFrom>
20+
<UpdateEnabled>false</UpdateEnabled>
21+
<UpdateMode>Foreground</UpdateMode>
22+
<UpdateInterval>7</UpdateInterval>
23+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
24+
<UpdatePeriodically>false</UpdatePeriodically>
25+
<UpdateRequired>false</UpdateRequired>
26+
<MapFileExtensions>true</MapFileExtensions>
27+
<ApplicationRevision>0</ApplicationRevision>
28+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
29+
<IsWebBootstrapper>false</IsWebBootstrapper>
30+
<UseApplicationTrust>false</UseApplicationTrust>
31+
<BootstrapperEnabled>true</BootstrapperEnabled>
1732
</PropertyGroup>
1833
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1934
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -30,7 +45,7 @@
3045
<DebugType>pdbonly</DebugType>
3146
<Optimize>true</Optimize>
3247
<OutputPath>bin\Release\</OutputPath>
33-
<DefineConstants>TRACE</DefineConstants>
48+
<DefineConstants>DEBUG;TRACE</DefineConstants>
3449
<ErrorReport>prompt</ErrorReport>
3550
<WarningLevel>4</WarningLevel>
3651
</PropertyGroup>
@@ -49,7 +64,7 @@
4964
</PropertyGroup>
5065
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
5166
<OutputPath>bin\x64\Release\</OutputPath>
52-
<DefineConstants>TRACE</DefineConstants>
67+
<DefineConstants>DEBUG;TRACE</DefineConstants>
5368
<Optimize>true</Optimize>
5469
<DebugType>pdbonly</DebugType>
5570
<PlatformTarget>x64</PlatformTarget>
@@ -151,5 +166,17 @@
151166
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
152167
</Content>
153168
</ItemGroup>
169+
<ItemGroup>
170+
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
171+
<Visible>False</Visible>
172+
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 and x64%29</ProductName>
173+
<Install>true</Install>
174+
</BootstrapperPackage>
175+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
176+
<Visible>False</Visible>
177+
<ProductName>.NET Framework 3.5 SP1</ProductName>
178+
<Install>false</Install>
179+
</BootstrapperPackage>
180+
</ItemGroup>
154181
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
155182
</Project>

MCLauncher/MCLauncher.csproj.user

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<PublishUrlHistory>publish\</PublishUrlHistory>
5+
<InstallUrlHistory />
6+
<SupportUrlHistory />
7+
<UpdateUrlHistory />
8+
<BootstrapperUrlHistory />
9+
<ErrorReportUrlHistory />
10+
<FallbackCulture>en-US</FallbackCulture>
11+
<VerifyUploadedFiles>false</VerifyUploadedFiles>
12+
</PropertyGroup>
13+
</Project>

0 commit comments

Comments
 (0)