not good start with OPC so far but after update of OPC Core Components Redistributable to v105.2, I have started to have an issues with app while connecting to OPC server and crashes with error saying that OpcRcw.dx Version=188.8.131.52 is missing. Up until now this app was using OpcNetApi.dll v.184.108.40.206 and OpcNetApi.Com.dll v.220.127.116.11.
What changes to OPC Core Components Redistributable could made that problem? How can I solve this problem?
The original RCWs (OpcRcw.XXX.dll) were .NET 2.0 ONLY and only work on systems that have .NET 2.0/3.5 installed.
The later versions of the CoreComponents replace the original RCWs will a single RCW that works with all versions of the .NET framework.
If you are upgrading you need to remove all references to the old RCWs from your applications.
Thank you for your response. Adding reference to the nugets works like a charm.
I started to work with app when issue showed up and I am trying to get into the OPC topic. In current version nuget manager clearly informs that OpcNetApi.Com.dll depends on OpcComRcw.dll, though I don't understand how this was working on older versions of OPC Core Components Redistributable? Could you explain how reference to OpcRcw.XXX.dlls was working and where it was stored on older version?
Are there any release notes to the archive versions of the OPC Core Components Redistributable?
If the machine had .NET 2.0 installed for some other application then the error would not occur.
I don't have enough information to speculate on why it 'worked' before.
Future releases of the Core Components will have detailed change logs with references to Mantis issue. Not much can be done about older releases.