Skip to content

Commit 96b7191

Browse files
committed
Added projects to build the library under .NET Standard 2.0 and the replicator under .NET 6.0.
1 parent 04e0f30 commit 96b7191

3 files changed

Lines changed: 143 additions & 0 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="restore;Build">
2+
<Import Project="$(SolutionDir)Common.props" />
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<DefaultLanguageSourceExtension>.dbl</DefaultLanguageSourceExtension>
6+
<EnableDefaultItems>false</EnableDefaultItems>
7+
<ProjectGuid>{d62894b0-e298-40f2-a110-04b008e0febb}</ProjectGuid>
8+
<Name>NetReplicationLibrary</Name>
9+
<EnableCommonProperties>True</EnableCommonProperties>
10+
<CommonPropertiesFileLocation>$(SolutionDir)Common.props</CommonPropertiesFileLocation>
11+
</PropertyGroup>
12+
<ItemGroup>
13+
<PackageReference Include="Synergex.SynergyDE.Build" Version="23.*" />
14+
<PackageReference Include="Synergex.SynergyDE.synrnt" Version="12.*" />
15+
<PackageReference Include="System.Text.Json">
16+
<Version>6.0.8</Version>
17+
</PackageReference>
18+
</ItemGroup>
19+
<ItemGroup>
20+
<Compile Include="..\SRC\LIBRARY\CommandLineParser.dbl" />
21+
<Compile Include="..\SRC\LIBRARY\ConfigureReplication.dbl" />
22+
<Compile Include="..\SRC\LIBRARY\DatabaseCommunicationException.dbl" />
23+
<Compile Include="..\SRC\LIBRARY\DataConversionTools.dbl" />
24+
<Compile Include="..\SRC\LIBRARY\DepartmentSqlIO.dbl" />
25+
<Compile Include="..\SRC\LIBRARY\EmployeeSqlIO.dbl" />
26+
<Compile Include="..\SRC\LIBRARY\File.dbl" />
27+
<Compile Include="..\SRC\LIBRARY\FileChunkReader.dbl" />
28+
<Compile Include="..\SRC\LIBRARY\FileServiceClient.dbl" />
29+
<Compile Include="..\SRC\LIBRARY\GenerateDepartmentData.dbl" />
30+
<Compile Include="..\SRC\LIBRARY\GenerateEmployeeData.dbl" />
31+
<Compile Include="..\SRC\LIBRARY\GetDateTimeString.dbl" />
32+
<Compile Include="..\SRC\LIBRARY\GetInstances.dbl" />
33+
<Compile Include="..\SRC\LIBRARY\GetReplicatedTables.dbl" />
34+
<Compile Include="..\SRC\LIBRARY\IndexExists.dbl" />
35+
<Compile Include="..\SRC\LIBRARY\InstanceInfo.dbl" />
36+
<Compile Include="..\SRC\LIBRARY\IOHooksISAM.dbl" />
37+
<Compile Include="..\SRC\LIBRARY\IOHooksRELATIVE.dbl" />
38+
<Compile Include="..\SRC\LIBRARY\IsDate.dbl" />
39+
<Compile Include="..\SRC\LIBRARY\IsDecimal.dbl" />
40+
<Compile Include="..\SRC\LIBRARY\IsEmailAddress.dbl" />
41+
<Compile Include="..\SRC\LIBRARY\IsTime.dbl" />
42+
<Compile Include="..\SRC\LIBRARY\Json.dbl" />
43+
<Compile Include="..\SRC\LIBRARY\LastRecordCache.dbl" />
44+
<Compile Include="..\SRC\LIBRARY\MakeDateForCsv.dbl" />
45+
<Compile Include="..\SRC\LIBRARY\MakeDecimalForCsv.dbl" />
46+
<Compile Include="..\SRC\LIBRARY\MakeTimeForCsv.dbl" />
47+
<Compile Include="..\SRC\LIBRARY\OpenOrCreateQueueFile.dbl" />
48+
<Compile Include="..\SRC\LIBRARY\PopulateReplicationKey.dbl" />
49+
<Compile Include="..\SRC\LIBRARY\Replicate.dbl" />
50+
<Compile Include="..\SRC\LIBRARY\SmtpMail.dbl" />
51+
<Compile Include="..\SRC\LIBRARY\StringDictionary.dbl" />
52+
<Compile Include="..\SRC\LIBRARY\StringTools.dbl" />
53+
<Compile Include="..\SRC\LIBRARY\ThrowOnCommunicationError.dbl" />
54+
</ItemGroup>
55+
<ItemGroup>
56+
<Content Include="..\SRC\LIBRARY\SmtpMail.def">
57+
<SubType>Content</SubType>
58+
</Content>
59+
<Content Include="..\SRC\LIBRARY\sqlgbl.def">
60+
<SubType>Content</SubType>
61+
</Content>
62+
</ItemGroup>
63+
</Project>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="restore;Build">
2+
<Import Project="$(SolutionDir)Common.props" />
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net6.0</TargetFramework>
6+
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework>
7+
<DefaultLanguageSourceExtension>.dbl</DefaultLanguageSourceExtension>
8+
<EnableDefaultItems>false</EnableDefaultItems>
9+
<ProjectGuid>{36f63f9a-2e5a-4542-ac06-a8eae8732507}</ProjectGuid>
10+
<Name>NetReplicator</Name>
11+
<EnableCommonProperties>True</EnableCommonProperties>
12+
<CommonPropertiesFileLocation>$(SolutionDir)Common.props</CommonPropertiesFileLocation>
13+
</PropertyGroup>
14+
<ItemGroup>
15+
<PackageReference Include="Synergex.SynergyDE.Build" Version="23.*" />
16+
<PackageReference Include="Synergex.SynergyDE.synrnt" Version="12.*" />
17+
</ItemGroup>
18+
<ItemGroup>
19+
<ProjectReference Include="..\NetReplicationLibrary\NetReplicationLibrary.synproj">
20+
<Name>NetReplicationLibrary</Name>
21+
<Private>True</Private>
22+
</ProjectReference>
23+
</ItemGroup>
24+
<ItemGroup>
25+
<Compile Include="..\SRC\REPLICATOR\ConfigureEnvironment.dbl" />
26+
<Compile Include="..\SRC\REPLICATOR\Counters.dbl" />
27+
<Compile Include="..\SRC\REPLICATOR\DatabaseConnect.dbl" />
28+
<Compile Include="..\SRC\REPLICATOR\DatabaseDisconnect.dbl" />
29+
<Compile Include="..\SRC\REPLICATOR\DatabaseReconnect.dbl" />
30+
<Compile Include="..\SRC\REPLICATOR\GetSettings.dbl" />
31+
<Compile Include="..\SRC\REPLICATOR\Logger.dbl" />
32+
<Compile Include="..\SRC\REPLICATOR\OpenQueueFile.dbl" />
33+
<Compile Include="..\SRC\REPLICATOR\ReOpenQueueFile.dbl" />
34+
<Compile Include="..\SRC\REPLICATOR\replicator.dbl" />
35+
<Compile Include="..\SRC\REPLICATOR\ReplicatorShutdown.dbl" />
36+
<Compile Include="..\SRC\REPLICATOR\SendEmail.dbl" />
37+
<Compile Include="..\SRC\REPLICATOR\Settings.dbl" />
38+
<Compile Include="..\SRC\REPLICATOR\TimeNow.dbl" />
39+
</ItemGroup>
40+
</Project>

SqlReplication.sln

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "File Definitions", "File De
7979
EndProject
8080
Project("{BBD0F5D1-1CC4-42FD-BA4C-A96779C64378}") = "tools", "PRJVS\tools\tools.synproj", "{123F18A8-DB24-4ED3-91BF-ED7917BEF4C1}"
8181
EndProject
82+
Project("{BBD0F5D1-1CC4-42FD-BA4C-A96779C64378}") = "NetReplicator", "NetReplicator\NetReplicator.synproj", "{36F63F9A-2E5A-4542-AC06-A8EAE8732507}"
83+
EndProject
84+
Project("{BBD0F5D1-1CC4-42FD-BA4C-A96779C64378}") = "NetReplicationLibrary", "NetReplicationLibrary\NetReplicationLibrary.synproj", "{D62894B0-E298-40F2-A110-04B008E0FEBB}"
85+
EndProject
8286
Global
8387
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8488
Debug|Any CPU = Debug|Any CPU
@@ -187,6 +191,42 @@ Global
187191
{123F18A8-DB24-4ED3-91BF-ED7917BEF4C1}.Release|x64.Build.0 = Release|x64
188192
{123F18A8-DB24-4ED3-91BF-ED7917BEF4C1}.Release|x86.ActiveCfg = Release|x86
189193
{123F18A8-DB24-4ED3-91BF-ED7917BEF4C1}.Release|x86.Build.0 = Release|x86
194+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
195+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Debug|Any CPU.Build.0 = Debug|Any CPU
196+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Debug|x64.ActiveCfg = Debug|Any CPU
197+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Debug|x64.Build.0 = Debug|Any CPU
198+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Debug|x86.ActiveCfg = Debug|x86
199+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Debug|x86.Build.0 = Debug|x86
200+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Deploy|Any CPU.ActiveCfg = Debug|Any CPU
201+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Deploy|Any CPU.Build.0 = Debug|Any CPU
202+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Deploy|x64.ActiveCfg = Debug|Any CPU
203+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Deploy|x64.Build.0 = Debug|Any CPU
204+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Deploy|x86.ActiveCfg = Debug|x86
205+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Deploy|x86.Build.0 = Debug|x86
206+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Release|Any CPU.ActiveCfg = Release|Any CPU
207+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Release|Any CPU.Build.0 = Release|Any CPU
208+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Release|x64.ActiveCfg = Release|Any CPU
209+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Release|x64.Build.0 = Release|Any CPU
210+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Release|x86.ActiveCfg = Release|x86
211+
{36F63F9A-2E5A-4542-AC06-A8EAE8732507}.Release|x86.Build.0 = Release|x86
212+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
213+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Debug|Any CPU.Build.0 = Debug|Any CPU
214+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Debug|x64.ActiveCfg = Debug|Any CPU
215+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Debug|x64.Build.0 = Debug|Any CPU
216+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Debug|x86.ActiveCfg = Debug|x86
217+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Debug|x86.Build.0 = Debug|x86
218+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Deploy|Any CPU.ActiveCfg = Debug|Any CPU
219+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Deploy|Any CPU.Build.0 = Debug|Any CPU
220+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Deploy|x64.ActiveCfg = Debug|Any CPU
221+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Deploy|x64.Build.0 = Debug|Any CPU
222+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Deploy|x86.ActiveCfg = Debug|x86
223+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Deploy|x86.Build.0 = Debug|x86
224+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Release|Any CPU.ActiveCfg = Release|Any CPU
225+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Release|Any CPU.Build.0 = Release|Any CPU
226+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Release|x64.ActiveCfg = Release|Any CPU
227+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Release|x64.Build.0 = Release|Any CPU
228+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Release|x86.ActiveCfg = Release|x86
229+
{D62894B0-E298-40F2-A110-04B008E0FEBB}.Release|x86.Build.0 = Release|x86
190230
EndGlobalSection
191231
GlobalSection(SolutionProperties) = preSolution
192232
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)