OPC Historian .NET Server Toolkit Reference
DLL Version Numbers
Send comments on this topic.
Server Development > DLL Version Numbers

Glossary Item Box

DLL Version Numbers


The plug-in DLLs are strong-name signed and the version numbers may not be increased without either recompiling the calling assembly or declaring interface compatibility.
- HDANSrv.Net4.exe V6.0 is compiled with a reference to HDAPluginNet4.dll V6.0
- HDAPluginNet4.dll V6.0 is compiled with a reference to HDAPluginDBA.dll V2.0

Only users with the Professional Edition Company Site license have the generic server source code and can compile it with updated DLLs.

Other users need to make an AssemblyBinding definition in the application configuration file.
The assembly binding can be redirected to a newer version as long as long as nothing is changed in the assembly interface.


Assembly binding redirection is done with the following definition section in the application configuration file HDANSrv.Net4.exe.config

<runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

    <dependentAssembly>
      <assemblyIdentity name="HDAPluginNet4" publicKeyToken="9e4d4836f3da8b2d" />
      <bindingRedirect oldVersion="6.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
      <assemblyIdentity name="HDAPluginDBANet4" publicKeyToken="43f57eba0dcf329a" />
      <bindingRedirect oldVersion="2.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
    </dependentAssembly>

  </assemblyBinding>
</runtime>

Copyright ©2004-2019 Advosol Inc. All Rights Reserved.