Skip to content

Commit

Permalink
Update App.config
Browse files Browse the repository at this point in the history
Add config.example.json to service project
  • Loading branch information
Michael Ganss committed Sep 20, 2018
1 parent bc1584d commit f2aa91d
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 107 deletions.
2 changes: 1 addition & 1 deletion SyncChanges.Console/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
5 changes: 5 additions & 0 deletions SyncChanges.Console/SyncChanges.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@
<ItemGroup>
<ProjectReference Include="..\SyncChanges\SyncChanges.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="config.example.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
8 changes: 0 additions & 8 deletions SyncChanges.Console/packages.config

This file was deleted.

2 changes: 1 addition & 1 deletion SyncChanges.Service/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<add key="DryRun" value="false" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
5 changes: 5 additions & 0 deletions SyncChanges.Service/SyncChanges.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@
<Reference Include="System.Configuration.Install" />
<Reference Include="System.ServiceProcess" />
</ItemGroup>
<ItemGroup>
<None Update="config.example.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
22 changes: 22 additions & 0 deletions SyncChanges.Service/config.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"ReplicationSets": [
{
"Name": "Test",
"Source": {
"Name": "Primary",
"ConnectionString": "Data Source=primary.example.com;Initial Catalog=Test;Integrated Security=True;MultipleActiveResultSets=True"
},
"Destinations": [
{
"Name": "Secondary 1",
"ConnectionString": "Data Source=secondary1.example.com;Initial Catalog=Test;Integrated Security=True;MultipleActiveResultSets=True"
},
{
"Name": "Secondary 2",
"ConnectionString": "Data Source=secondary2.example.com;Initial Catalog=Test;Integrated Security=True;MultipleActiveResultSets=True"
}
],
"Tables": [ "Table1", "Table2", "Table3" ]
}
]
}
7 changes: 0 additions & 7 deletions SyncChanges.Service/packages.config

This file was deleted.

6 changes: 0 additions & 6 deletions SyncChanges.Tests/packages.config

This file was deleted.

47 changes: 0 additions & 47 deletions SyncChanges/SyncChanges.nuspec

This file was deleted.

37 changes: 0 additions & 37 deletions SyncChanges/packages.config

This file was deleted.

0 comments on commit f2aa91d

Please sign in to comment.