Skip to content

Commit cec63b0

Browse files
committed
Add net40 project for Core
1 parent 8afb8b2 commit cec63b0

File tree

6 files changed

+249
-0
lines changed

6 files changed

+249
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<configSections>
4+
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
5+
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6+
</configSections>
7+
<entityFramework>
8+
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
9+
<parameters>
10+
<parameter value="mssqllocaldb" />
11+
</parameters>
12+
</defaultConnectionFactory>
13+
<providers>
14+
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
15+
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d">
16+
</provider></providers>
17+
</entityFramework>
18+
<system.data>
19+
<DbProviderFactories>
20+
<remove invariant="MySql.Data.MySqlClient" />
21+
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
22+
</DbProviderFactories>
23+
</system.data></configuration>
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>IntegrationEngine.Core</RootNamespace>
11+
<AssemblyName>IntegrationEngine.Core</AssemblyName>
12+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>lib\net40\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<ItemGroup>
35+
<Reference Include="Common.Logging">
36+
<HintPath>..\packages\Common.Logging.3.0.0\lib\net40\Common.Logging.dll</HintPath>
37+
</Reference>
38+
<Reference Include="Common.Logging.Core">
39+
<HintPath>..\packages\Common.Logging.Core.3.0.0\lib\net40\Common.Logging.Core.dll</HintPath>
40+
</Reference>
41+
<Reference Include="Common.Logging.NLog31">
42+
<HintPath>..\packages\Common.Logging.NLog31.3.0.0\lib\net40\Common.Logging.NLog31.dll</HintPath>
43+
</Reference>
44+
<Reference Include="Elasticsearch.Net">
45+
<HintPath>..\packages\Elasticsearch.Net.1.3.1\lib\Elasticsearch.Net.dll</HintPath>
46+
</Reference>
47+
<Reference Include="EntityFramework">
48+
<HintPath>..\packages\EntityFramework.6.1.2\lib\net40\EntityFramework.dll</HintPath>
49+
</Reference>
50+
<Reference Include="EntityFramework.SqlServer">
51+
<HintPath>..\packages\EntityFramework.6.1.2\lib\net40\EntityFramework.SqlServer.dll</HintPath>
52+
</Reference>
53+
<Reference Include="MySql.Data">
54+
<HintPath>..\packages\MySql.Data.6.9.5\lib\net40\MySql.Data.dll</HintPath>
55+
</Reference>
56+
<Reference Include="MySql.Data.Entity.EF6">
57+
<HintPath>..\packages\MySql.Data.Entity.6.9.5\lib\net40\MySql.Data.Entity.EF6.dll</HintPath>
58+
</Reference>
59+
<Reference Include="Nest">
60+
<HintPath>..\packages\NEST.1.3.1\lib\Nest.dll</HintPath>
61+
</Reference>
62+
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
63+
<SpecificVersion>False</SpecificVersion>
64+
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\net40\Newtonsoft.Json.dll</HintPath>
65+
</Reference>
66+
<Reference Include="NLog">
67+
<HintPath>..\packages\NLog.3.1.0.0\lib\net40\NLog.dll</HintPath>
68+
</Reference>
69+
<Reference Include="RabbitMQ.Client">
70+
<HintPath>..\packages\RabbitMQ.Client.3.4.3\lib\net35\RabbitMQ.Client.dll</HintPath>
71+
</Reference>
72+
<Reference Include="System" />
73+
<Reference Include="System.ComponentModel.DataAnnotations" />
74+
<Reference Include="System.Core" />
75+
<Reference Include="System.Xml.Linq" />
76+
<Reference Include="System.Data.DataSetExtensions" />
77+
<Reference Include="Microsoft.CSharp" />
78+
<Reference Include="System.Data" />
79+
<Reference Include="System.Xml" />
80+
</ItemGroup>
81+
<ItemGroup>
82+
<Compile Include="..\configuration\SharedAssemblyInfo.cs">
83+
<Link>Properties\SharedAssemblyInfo.cs</Link>
84+
</Compile>
85+
<Compile Include="..\IntegrationEngine.Core\Configuration\DatabaseConfiguration.cs">
86+
<Link>DatabaseConfiguration.cs</Link>
87+
</Compile>
88+
<Compile Include="..\IntegrationEngine.Core\Configuration\MailConfiguration.cs">
89+
<Link>MailConfiguration.cs</Link>
90+
</Compile>
91+
<Compile Include="..\IntegrationEngine.Core\Jobs\IElasticsearchJob.cs">
92+
<Link>IElasticsearchJob.cs</Link>
93+
</Compile>
94+
<Compile Include="..\IntegrationEngine.Core\Jobs\IIntegrationJob.cs">
95+
<Link>IIntegrationJob.cs</Link>
96+
</Compile>
97+
<Compile Include="..\IntegrationEngine.Core\Jobs\ILogJob.cs">
98+
<Link>ILogJob.cs</Link>
99+
</Compile>
100+
<Compile Include="..\IntegrationEngine.Core\Jobs\IMailJob.cs">
101+
<Link>IMailJob.cs</Link>
102+
</Compile>
103+
<Compile Include="..\IntegrationEngine.Core\Jobs\IntegrationJobRunFailureException.cs">
104+
<Link>IntegrationJobRunFailureException.cs</Link>
105+
</Compile>
106+
<Compile Include="..\IntegrationEngine.Core\Jobs\IParameterizedJob.cs">
107+
<Link>IParameterizedJob.cs</Link>
108+
</Compile>
109+
<Compile Include="..\IntegrationEngine.Core\Jobs\ISqlJob.cs">
110+
<Link>ISqlJob.cs</Link>
111+
</Compile>
112+
<Compile Include="..\IntegrationEngine.Core\Jobs\SqlJob.cs">
113+
<Link>SqlJob.cs</Link>
114+
</Compile>
115+
<Compile Include="..\IntegrationEngine.Core\Mail\IMailClient.cs">
116+
<Link>IMailClient.cs</Link>
117+
</Compile>
118+
<Compile Include="..\IntegrationEngine.Core\Mail\ISmtpClient.cs">
119+
<Link>ISmtpClient.cs</Link>
120+
</Compile>
121+
<Compile Include="..\IntegrationEngine.Core\Mail\ITcpClient.cs">
122+
<Link>ITcpClient.cs</Link>
123+
</Compile>
124+
<Compile Include="..\IntegrationEngine.Core\Mail\MailClient.cs">
125+
<Link>MailClient.cs</Link>
126+
</Compile>
127+
<Compile Include="..\IntegrationEngine.Core\Mail\SmtpClientAdapter.cs">
128+
<Link>SmtpClientAdapter.cs</Link>
129+
</Compile>
130+
<Compile Include="..\IntegrationEngine.Core\Reports\IDatum.cs">
131+
<Link>IDatum.cs</Link>
132+
</Compile>
133+
<Compile Include="..\IntegrationEngine.Core\Reports\IReport.cs">
134+
<Link>IReport.cs</Link>
135+
</Compile>
136+
<Compile Include="..\IntegrationEngine.Core\R\RScriptRunner.cs">
137+
<Link>RScriptRunner.cs</Link>
138+
</Compile>
139+
<Compile Include="..\IntegrationEngine.Core\Storage\DatabaseInitializer.cs">
140+
<Link>DatabaseInitializer.cs</Link>
141+
</Compile>
142+
<Compile Include="..\IntegrationEngine.Core\Storage\DatabaseRepository.cs">
143+
<Link>DatabaseRepository.cs</Link>
144+
</Compile>
145+
<Compile Include="..\IntegrationEngine.Core\Storage\ElasticsearchRepository.cs">
146+
<Link>ElasticsearchRepository.cs</Link>
147+
</Compile>
148+
<Compile Include="..\IntegrationEngine.Core\Storage\IDatabaseRepository.cs">
149+
<Link>IDatabaseRepository.cs</Link>
150+
</Compile>
151+
<Compile Include="..\IntegrationEngine.Core\Storage\IElasticsearchRepository.cs">
152+
<Link>IElasticsearchRepository.cs</Link>
153+
</Compile>
154+
<Compile Include="..\IntegrationEngine.Core\Storage\IntegrationEngineContext.cs">
155+
<Link>IntegrationEngineContext.cs</Link>
156+
</Compile>
157+
<Compile Include="..\IntegrationEngine.Core\Storage\IntegrationEngineDbConfiguration.cs">
158+
<Link>IntegrationEngineDbConfiguration.cs</Link>
159+
</Compile>
160+
<Compile Include="..\IntegrationEngine.Core\Storage\IRepository.cs">
161+
<Link>IRepository.cs</Link>
162+
</Compile>
163+
<Compile Include="Properties\AssemblyInfo.cs" />
164+
</ItemGroup>
165+
<ItemGroup>
166+
<None Include="App.config" />
167+
<None Include="packages.config" />
168+
</ItemGroup>
169+
<ItemGroup>
170+
<ProjectReference Include="..\IntegrationEngine.Model.net40\IntegrationEngine.Model.net40.csproj">
171+
<Project>{dfcd19ce-a96a-4b19-8cf1-9cac560e7f42}</Project>
172+
<Name>IntegrationEngine.Model.net40</Name>
173+
</ProjectReference>
174+
</ItemGroup>
175+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
176+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
177+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
178+
<PropertyGroup>
179+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
180+
</PropertyGroup>
181+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
182+
</Target>
183+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
184+
Other similar extension points exist, see Microsoft.Common.targets.
185+
<Target Name="BeforeBuild">
186+
</Target>
187+
<Target Name="AfterBuild">
188+
</Target>
189+
-->
190+
</Project>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
[assembly: AssemblyTitle("IntegrationEngine.Core")]
6+
[assembly: ComVisible(false)]
7+
[assembly: Guid("549ff47c-42e1-49ce-a1a3-191e88f9c2ec")]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Common.Logging" version="3.0.0" targetFramework="net40" />
4+
<package id="Common.Logging.Core" version="3.0.0" targetFramework="net40" />
5+
<package id="Common.Logging.NLog31" version="3.0.0" targetFramework="net40" />
6+
<package id="Elasticsearch.Net" version="1.3.1" targetFramework="net40" />
7+
<package id="EntityFramework" version="6.1.2" targetFramework="net40" />
8+
<package id="MySql.Data" version="6.9.5" targetFramework="net40" />
9+
<package id="MySql.Data.Entity" version="6.9.5" targetFramework="net40" />
10+
<package id="NEST" version="1.3.1" targetFramework="net40" />
11+
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net40" />
12+
<package id="NLog" version="3.1.0.0" targetFramework="net40" />
13+
<package id="RabbitMQ.Client" version="3.4.3" targetFramework="net40" />
14+
</packages>

IntegrationEngine.Core/package.nuspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,7 @@
3131
<dependency id="RabbitMQ.Client" version="3.4.3" />
3232
</dependencies>
3333
</metadata>
34+
<files>
35+
<file src="..\IntegrationEngine.Core.net40\lib\net40\IntegrationEngine.Core.dll" target="lib\net40" />
36+
</files>
3437
</package>

IntegrationEngine.sln

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationEngine.Core.Test
4545
EndProject
4646
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationEngine.Client.Tests", "IntegrationEngine.Client.Tests\IntegrationEngine.Client.Tests.csproj", "{8F491136-6C38-4A8E-BFEA-9234FB981414}"
4747
EndProject
48+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationEngine.Core.net40", "IntegrationEngine.Core.net40\IntegrationEngine.Core.net40.csproj", "{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}"
49+
EndProject
4850
Global
4951
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5052
Debug|Any CPU = Debug|Any CPU
@@ -183,6 +185,16 @@ Global
183185
{8F491136-6C38-4A8E-BFEA-9234FB981414}.Release|Mixed Platforms.Build.0 = Release|Any CPU
184186
{8F491136-6C38-4A8E-BFEA-9234FB981414}.Release|x86.ActiveCfg = Release|Any CPU
185187
{8F491136-6C38-4A8E-BFEA-9234FB981414}.Release|x86.Build.0 = Release|Any CPU
188+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
189+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Debug|Any CPU.Build.0 = Debug|Any CPU
190+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
191+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
192+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Debug|x86.ActiveCfg = Debug|Any CPU
193+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Release|Any CPU.ActiveCfg = Release|Any CPU
194+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Release|Any CPU.Build.0 = Release|Any CPU
195+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
196+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Release|Mixed Platforms.Build.0 = Release|Any CPU
197+
{9332D22A-0D09-4DA7-B2F9-6DE7E9F28715}.Release|x86.ActiveCfg = Release|Any CPU
186198
EndGlobalSection
187199
GlobalSection(SolutionProperties) = preSolution
188200
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)