Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Compiler Warning when targeting net60 or netstandard21

More
26 Feb 2023 10:15 #11574 by support
Hello,

yes, your are right. I have investigated this and it comes from our use of the Microsoft.Net.Http package (a leftover from earlier version). It needs to be replaced by the newer System.Net.Http.

I have checked the code thoroughly, and the only place a code from that package can be called is when you actually use HTTPS for OPC UA connection (very unlikely; everybody uses opc.tcp); and even then it might actually work.

So, this will be fixed in the next version. But not in the current version, unless it actually causes a real problem.

Best regards

Please Log in or Create an account to join the conversation.

More
24 Feb 2023 08:45 #11571 by Hofinger
Hello.

I am currently evaluating the OpcLabs.QuickOpc-nuget.

When I use version 5.70.1053 together with net6.0 or netstandard2.1, I get the following warnings upon nuget restore:
Warning	NU1701	Package 'Microsoft.Bcl 1.1.10' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.
Warning	NU1701	Package 'Microsoft.Net.Http 2.2.29' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.

These warnings do not show up, when using the previous version (5.63.246).
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.045 seconds