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

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: 1564
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: 1564
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/

Avatar
Dirk McComsey
New Member
Members
Forum Posts: 1
Member Since:
03/01/2022
sp_UserOfflineSmall Offline
5
09/11/2023 - 18:13
sp_Permalink sp_Print

I try to download this file and I receive a message: Access denied. You do not have permission to download this file.

I am trying to get OpcNetApi.dll for a .NET Core 7 application and I can't seem to get anything that works.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
09/12/2023 - 14:39
sp_Permalink sp_Print

Only corporate members have access to that download.

The code currently requires .NET 5.0 but it should be possible to update to support .NET 7.0.

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