Skip to content

Commit bb3caba

Browse files
committed
Added BuildAllConfigurations.proj
1 parent 84e5dc7 commit bb3caba

File tree

3 files changed

+53
-22
lines changed

3 files changed

+53
-22
lines changed

BuildAllConfigurations.proj

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Rebuild" ToolsVersion="4.0">
3+
<ItemGroup>
4+
<ConfigurationList Include="Debug-40" />
5+
<ConfigurationList Include="Debug-45" />
6+
<ConfigurationList Include="Release-40" />
7+
<ConfigurationList Include="Release-45" />
8+
<PlatformList Include="Any CPU" />
9+
<TargetList Include="Build" />
10+
<ProjectList Include="$(MSBuildProjectDirectory)\SQLite.CodeFirst.sln" />
11+
</ItemGroup>
12+
13+
<Target Name="Rebuild" Outputs="%(PlatformList.Identity)">
14+
<PropertyGroup>
15+
<CurrentPlatform>
16+
%(PlatformList.Identity)
17+
</CurrentPlatform>
18+
</PropertyGroup>
19+
<MSBuild Projects="@(ProjectList)"
20+
Properties="Configuration=%(ConfigurationList.Identity);Platform=$(CurrentPlatform);"
21+
Targets="Rebuild"
22+
SkipNonexistentProjects="true" />
23+
</Target>
24+
</Project>

SQLite.CodeFirst.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{7031BD3C
1919
release_appveyor.yml = release_appveyor.yml
2020
EndProjectSection
2121
EndProject
22+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C3AEBA35-BAAE-43B6-B698-65CD15EB5C2B}"
23+
ProjectSection(SolutionItems) = preProject
24+
BuildAllConfigurations.proj = BuildAllConfigurations.proj
25+
EndProjectSection
26+
EndProject
2227
Global
2328
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2429
Debug-40|Any CPU = Debug-40|Any CPU

SQLite.CodeFirst/SQLite.CodeFirst.csproj

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="12.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>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug-45</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{50A32FE4-0E13-4213-A373-72523CDF34D9}</ProjectGuid>
88
<OutputType>Library</OutputType>
@@ -16,6 +16,18 @@
1616
<RestorePackages>true</RestorePackages>
1717
<TargetFrameworkProfile />
1818
</PropertyGroup>
19+
<!-- Debug Configuration -->
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU'">
21+
<DebugSymbols>true</DebugSymbols>
22+
<OutputPath>bin\Debug-40\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<DebugType>full</DebugType>
25+
<PlatformTarget>AnyCPU</PlatformTarget>
26+
<ErrorReport>prompt</ErrorReport>
27+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
28+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
29+
<OutputPath>bin\Debug-40\</OutputPath>
30+
</PropertyGroup>
1931
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU' ">
2032
<PlatformTarget>AnyCPU</PlatformTarget>
2133
<DebugSymbols>true</DebugSymbols>
@@ -27,6 +39,17 @@
2739
<WarningLevel>4</WarningLevel>
2840
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
2941
</PropertyGroup>
42+
<!-- Release Configuration -->
43+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
44+
<OutputPath>bin\Release-40\</OutputPath>
45+
<DefineConstants>TRACE</DefineConstants>
46+
<Optimize>true</Optimize>
47+
<DebugType>pdbonly</DebugType>
48+
<PlatformTarget>AnyCPU</PlatformTarget>
49+
<ErrorReport>prompt</ErrorReport>
50+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
51+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
52+
</PropertyGroup>
3053
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU' ">
3154
<PlatformTarget>AnyCPU</PlatformTarget>
3255
<DebugType>pdbonly</DebugType>
@@ -40,27 +63,6 @@
4063
<PropertyGroup>
4164
<StartupObject />
4265
</PropertyGroup>
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>
6466
<ItemGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
6567
<Reference Include="EntityFramework">
6668
<HintPath>..\packages\EntityFramework.6.1.2\lib\net40\EntityFramework.dll</HintPath>

0 commit comments

Comments
 (0)