Skip to content

Commit 588c424

Browse files
authored
Merge pull request #8 from Kudo/feature/wpf_x86_x64
Fix WPF project arch for x86/x64
2 parents b6692e2 + 8831412 commit 588c424

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

windows/RNSqlite2.Net46/RNSqlite2.Net46.csproj

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,41 @@
1515
<NuGetPackageImportStamp>
1616
</NuGetPackageImportStamp>
1717
</PropertyGroup>
18-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
1919
<DebugSymbols>true</DebugSymbols>
20-
<DebugType>full</DebugType>
21-
<Optimize>false</Optimize>
22-
<OutputPath>bin\Debug\</OutputPath>
20+
<OutputPath>bin\x86\Debug\</OutputPath>
2321
<DefineConstants>TRACE;DEBUG</DefineConstants>
22+
<DebugType>full</DebugType>
23+
<PlatformTarget>x86</PlatformTarget>
2424
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
25+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
2626
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28-
<DebugType>pdbonly</DebugType>
27+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
28+
<OutputPath>bin\x86\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
2930
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31+
<DebugType>pdbonly</DebugType>
32+
<PlatformTarget>x86</PlatformTarget>
33+
<ErrorReport>prompt</ErrorReport>
34+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
35+
</PropertyGroup>
36+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
37+
<DebugSymbols>true</DebugSymbols>
38+
<OutputPath>bin\x64\Debug\</OutputPath>
39+
<DefineConstants>TRACE;DEBUG</DefineConstants>
40+
<DebugType>full</DebugType>
41+
<PlatformTarget>x64</PlatformTarget>
42+
<ErrorReport>prompt</ErrorReport>
43+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
44+
</PropertyGroup>
45+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
46+
<OutputPath>bin\x64\Release\</OutputPath>
3147
<DefineConstants>TRACE</DefineConstants>
48+
<Optimize>true</Optimize>
49+
<DebugType>pdbonly</DebugType>
50+
<PlatformTarget>x64</PlatformTarget>
3251
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
52+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
3453
</PropertyGroup>
3554
<ItemGroup>
3655
<Reference Include="Microsoft.Data.Sqlite, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)