Skip to content

Commit e9530e8

Browse files
committed
增加编译选项
1 parent 8af1280 commit e9530e8

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

Todowork.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|Any CPU = Debug|Any CPU
10+
Debug|x86 = Debug|x86
1011
Release|Any CPU = Release|Any CPU
12+
Release|x86 = Release|x86
1113
EndGlobalSection
1214
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1315
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1416
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Debug|x86.ActiveCfg = Debug|x86
18+
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Debug|x86.Build.0 = Debug|x86
1519
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Release|Any CPU.ActiveCfg = Release|Any CPU
1620
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Release|Any CPU.Build.0 = Release|Any CPU
21+
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Release|x86.ActiveCfg = Release|x86
22+
{9D64E7A8-0E7F-4D21-B0D6-7A8C2B562E56}.Release|x86.Build.0 = Release|x86
1723
EndGlobalSection
1824
GlobalSection(SolutionProperties) = preSolution
1925
HideSolutionNode = FALSE

Todowork/Todowork.csproj

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
@@ -33,6 +33,26 @@
3333
<ErrorReport>prompt</ErrorReport>
3434
<WarningLevel>4</WarningLevel>
3535
</PropertyGroup>
36+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
37+
<DebugSymbols>true</DebugSymbols>
38+
<OutputPath>bin\x86\Debug\</OutputPath>
39+
<DefineConstants>DEBUG;TRACE</DefineConstants>
40+
<DebugType>full</DebugType>
41+
<PlatformTarget>x86</PlatformTarget>
42+
<LangVersion>latest</LangVersion>
43+
<ErrorReport>prompt</ErrorReport>
44+
<Prefer32Bit>true</Prefer32Bit>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
47+
<OutputPath>bin\x86\Release\</OutputPath>
48+
<DefineConstants>TRACE</DefineConstants>
49+
<Optimize>true</Optimize>
50+
<DebugType>pdbonly</DebugType>
51+
<PlatformTarget>x86</PlatformTarget>
52+
<LangVersion>latest</LangVersion>
53+
<ErrorReport>prompt</ErrorReport>
54+
<Prefer32Bit>true</Prefer32Bit>
55+
</PropertyGroup>
3656
<ItemGroup>
3757
<Reference Include="System" />
3858
<Reference Include="System.Core" />
@@ -103,4 +123,4 @@
103123
<Resource Include="Assets\TodoworkTD_gray.svg" />
104124
</ItemGroup>
105125
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
106-
</Project>
126+
</Project>

0 commit comments

Comments
 (0)