Skip to content

Commit

Permalink
Updates to include the neded binding redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
ehertlein committed Jul 23, 2019
1 parent df07268 commit b0d1905
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions InRule.Runtime.Metrics.SqlServer/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ using (var session = new RuleSession(ruleApplicationDef))
**Configuring via custom config section:**
```xml
<configuration>

<configSections>
<section name="inrule.runtime" type="InRule.Runtime.Configuration.RuntimeConfigSectionHandler, InRule.Runtime" />
</configSections>
Expand All @@ -32,6 +33,24 @@ using (var session = new RuleSession(ruleApplicationDef))
metricLoggerTypeName="InRule.Runtime.Metrics.SqlServer.MetricLogger"
metricLoggerServiceName="Development"/> <!-- Optional Name -->
</inrule.runtime>

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.SqlServer.Smo" publicKeyToken="89845dcd8080cc91" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-14.100.0.0" newVersion="14.100.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.SqlServer.ConnectionInfo" publicKeyToken="89845dcd8080cc91" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-14.100.0.0" newVersion="14.100.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

</configuration>
```

Expand Down

0 comments on commit b0d1905

Please sign in to comment.