Skip to content

Commit 84e5dc7

Browse files
committed
Added Build Configurations for .Net 4.0 and .Net 4.5
1 parent 3059ff6 commit 84e5dc7

File tree

4 files changed

+59
-19
lines changed

4 files changed

+59
-19
lines changed

SQLite.CodeFirst.Console/SQLite.CodeFirst.Console.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
1717
<RestorePackages>true</RestorePackages>
1818
</PropertyGroup>
19-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU' ">
2020
<PlatformTarget>AnyCPU</PlatformTarget>
2121
<DebugSymbols>true</DebugSymbols>
2222
<DebugType>full</DebugType>
@@ -26,7 +26,7 @@
2626
<ErrorReport>prompt</ErrorReport>
2727
<WarningLevel>4</WarningLevel>
2828
</PropertyGroup>
29-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU'">
3030
<PlatformTarget>AnyCPU</PlatformTarget>
3131
<DebugType>pdbonly</DebugType>
3232
<Optimize>true</Optimize>

SQLite.CodeFirst.sln

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,28 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{7031BD3C
2121
EndProject
2222
Global
2323
GlobalSection(SolutionConfigurationPlatforms) = preSolution
24-
Debug|Any CPU = Debug|Any CPU
25-
Release|Any CPU = Release|Any CPU
24+
Debug-40|Any CPU = Debug-40|Any CPU
25+
Debug-45|Any CPU = Debug-45|Any CPU
26+
Release-40|Any CPU = Release-40|Any CPU
27+
Release-45|Any CPU = Release-45|Any CPU
2628
EndGlobalSection
2729
GlobalSection(ProjectConfigurationPlatforms) = postSolution
28-
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29-
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
30-
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
31-
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Release|Any CPU.Build.0 = Release|Any CPU
32-
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33-
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug|Any CPU.Build.0 = Debug|Any CPU
34-
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release|Any CPU.ActiveCfg = Release|Any CPU
35-
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release|Any CPU.Build.0 = Release|Any CPU
30+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-40|Any CPU.ActiveCfg = Debug-40|Any CPU
31+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-40|Any CPU.Build.0 = Debug-40|Any CPU
32+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-45|Any CPU.ActiveCfg = Debug-45|Any CPU
33+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Debug-45|Any CPU.Build.0 = Debug-45|Any CPU
34+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-40|Any CPU.ActiveCfg = Release-40|Any CPU
35+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-40|Any CPU.Build.0 = Release-40|Any CPU
36+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-45|Any CPU.ActiveCfg = Release-45|Any CPU
37+
{50A32FE4-0E13-4213-A373-72523CDF34D9}.Release-45|Any CPU.Build.0 = Release-45|Any CPU
38+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-40|Any CPU.ActiveCfg = Debug-40|Any CPU
39+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-40|Any CPU.Build.0 = Debug-40|Any CPU
40+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-45|Any CPU.ActiveCfg = Debug-45|Any CPU
41+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Debug-45|Any CPU.Build.0 = Debug-45|Any CPU
42+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-40|Any CPU.ActiveCfg = Release-40|Any CPU
43+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-40|Any CPU.Build.0 = Release-40|Any CPU
44+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-45|Any CPU.ActiveCfg = Release-45|Any CPU
45+
{DEDABD86-6EA0-4673-A858-A4F71958F51D}.Release-45|Any CPU.Build.0 = Release-45|Any CPU
3646
EndGlobalSection
3747
GlobalSection(SolutionProperties) = preSolution
3848
HideSolutionNode = FALSE

SQLite.CodeFirst/SQLite.CodeFirst.csproj

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,69 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>SQLite.CodeFirst</RootNamespace>
1111
<AssemblyName>SQLite.CodeFirst</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1312
<FileAlignment>512</FileAlignment>
1413
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1514
<NuGetPackageImportStamp>b4e826ae</NuGetPackageImportStamp>
1615
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
1716
<RestorePackages>true</RestorePackages>
1817
<TargetFrameworkProfile />
1918
</PropertyGroup>
20-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU' ">
2120
<PlatformTarget>AnyCPU</PlatformTarget>
2221
<DebugSymbols>true</DebugSymbols>
2322
<DebugType>full</DebugType>
2423
<Optimize>false</Optimize>
25-
<OutputPath>bin\Debug\</OutputPath>
24+
<OutputPath>bin\Debug-45\</OutputPath>
2625
<DefineConstants>DEBUG;TRACE</DefineConstants>
2726
<ErrorReport>prompt</ErrorReport>
2827
<WarningLevel>4</WarningLevel>
28+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
2929
</PropertyGroup>
30-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU' ">
3131
<PlatformTarget>AnyCPU</PlatformTarget>
3232
<DebugType>pdbonly</DebugType>
3333
<Optimize>true</Optimize>
34-
<OutputPath>bin\Release\</OutputPath>
34+
<OutputPath>bin\Release-45\</OutputPath>
3535
<DefineConstants>TRACE</DefineConstants>
3636
<ErrorReport>prompt</ErrorReport>
3737
<WarningLevel>4</WarningLevel>
38+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
3839
</PropertyGroup>
3940
<PropertyGroup>
4041
<StartupObject />
4142
</PropertyGroup>
42-
<ItemGroup>
43+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU'">
44+
<DebugSymbols>true</DebugSymbols>
45+
<OutputPath>bin\Debug-40\</OutputPath>
46+
<DefineConstants>DEBUG;TRACE</DefineConstants>
47+
<DebugType>full</DebugType>
48+
<PlatformTarget>AnyCPU</PlatformTarget>
49+
<ErrorReport>prompt</ErrorReport>
50+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
51+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
52+
<OutputPath>bin\Debug-40\</OutputPath>
53+
</PropertyGroup>
54+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
55+
<OutputPath>bin\Release-40\</OutputPath>
56+
<DefineConstants>TRACE</DefineConstants>
57+
<Optimize>true</Optimize>
58+
<DebugType>pdbonly</DebugType>
59+
<PlatformTarget>AnyCPU</PlatformTarget>
60+
<ErrorReport>prompt</ErrorReport>
61+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
62+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
63+
</PropertyGroup>
64+
<ItemGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
65+
<Reference Include="EntityFramework">
66+
<HintPath>..\packages\EntityFramework.6.1.2\lib\net40\EntityFramework.dll</HintPath>
67+
</Reference>
68+
</ItemGroup>
69+
<ItemGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU'">
4370
<Reference Include="EntityFramework">
4471
<HintPath>..\packages\EntityFramework.6.1.2\lib\net45\EntityFramework.dll</HintPath>
4572
</Reference>
73+
</ItemGroup>
74+
<ItemGroup>
4675
<Reference Include="System" />
4776
<Reference Include="System.Core" />
4877
<Reference Include="System.Data" />

SQLite.CodeFirst/SQLite.CodeFirst.csproj.nuspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</frameworkAssemblies>
2424
</metadata>
2525
<files>
26-
<file src="bin\$configuration$\$id$.dll" target="lib\net45\SQLite.CodeFirst.dll" />
26+
<file src="bin\Release-40\$id$.dll" target="lib\net40\SQLite.CodeFirst.dll" />
27+
<file src="bin\Release-45\$id$.dll" target="lib\net45\SQLite.CodeFirst.dll" />
2728
</files>
2829
</package>

0 commit comments

Comments
 (0)