Does OPCNetAPI.dll support .NET5.0? | Classic OPC: DA, A&E, HDA, XML-DA, etc. | Forum

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Does OPCNetAPI.dll support .NET5.0?
Avatar
Raghavendra K
Member
Members
Forum Posts: 3
Member Since:
06/15/2022
sp_UserOfflineSmall Offline
1
06/15/2022 - 22:21
sp_Permalink sp_Print

Hi 
I was migrating a .NET Framework 4.7.2 Application to .NET 5.0 and I realized the application is making use of opcnetapi to connect to the opc da server. I realized that the opcnetapi build on 4.7.2 Framework is not fully supported for .NET 5.0 (Data change event is not triggered). Could anyone suggest me the alternative api/package to be used for .NET 5.0 targeted application.

Avatar
Randy Armstrong
Admin
Forum Posts: 1011
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/15/2022 - 23:56
sp_Permalink sp_Print

I am not aware of any issue with .NET 5/6 and the NET API, however, you need to use the right assemblies.

Make sure are using  the netstandard2.0 or later version.

Avatar
Raghavendra K
Member
Members
Forum Posts: 3
Member Since:
06/15/2022
sp_UserOfflineSmall Offline
3
06/16/2022 - 00:51
sp_Permalink sp_Print

Could you please share me the download path from were I can download netstandard2.0 or later version of opcnetapi

Avatar
Randy Armstrong
Admin
Forum Posts: 1011
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
06/16/2022 - 08:24
sp_Permalink sp_Print

The NuGet packages have all versions. If you use the NuGets, Visual Studio will select the correct version.

https://opcfoundation.org/deve.....urce-code/

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1093
Posts: 3537