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.

5.81.462 not working on linux

More
30 Nov 2024 19:07 #13298 by support
Hello,
thank you for the additional information, it is clear now.

I would disagree with the title of the topic saying "...not working on linux". It normally works. It does not "work" because you have set up your own roadblock (warning as errors).

But anyway, we have modified the NuGet package so that it does not reference the OpcLabs.QuickOpc.Design package in net6.0 target (this is possible to do now, because that package isn't needed for design purposes under net6.0 either; but may have to come up with different solution later).

Please use QuickOPC 5.81.485 or later, now available on our Web site and on nuget.org.

Best regards

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

More
28 Nov 2024 14:52 #13296 by dominikdoerr
Screenshot 2024-11-28 154726.jpg - error after try to insert with nuget-package-manager
Screenshot 2024-11-28 154832.jpg - depdendency-error-info after editing csproj file manually
Screenshot 2024-11-28 154959.jpg - warning if target-framework net6.0 and TreatWarningsAsErrors set to false
Attachments:

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

More
28 Nov 2024 14:28 #13295 by support
What is the warning you are getting?

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

More
28 Nov 2024 13:55 #13294 by dominikdoerr
We are using <TreatWarningsAsErrors>true</TreatWarningsAsErrors> and so it is not possible to install or use 5.81.462 in our scenario.
I think 5.82 is in planning for 2025 - could it be a possible solution to remove the OpcLabs.QuickOpc.Design dependency from the .net8 version of the library?
We are using .net8 too and i think it would be ok for us to upgrade to the newest version until start of 2025.

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

More
28 Nov 2024 13:37 #13293 by support
Hello.
Please describe precisely what you are doing and what is happening.

In my test with our own examples (in C# client example solution, e.g. the UADocExamples console demo), they can be built for "plain" net6.0 without problems. It is true that the assemblies from the OpcLabs.QuickOpc.Design package appear in the output, which is unfortunate, but they are not referenced and do not cause issues.

Is your complaint based just on the fact that you do not like these assemblies be present in the output, or is there an actual problem building or running under "plain" net6.0 (and if so, what is the problem)?

Regards

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

More
27 Nov 2024 16:41 #13291 by dominikdoerr
I am using Visual Studio 2022 17.12.1.
I did not know the csproj property developmentDependency but i think it is not working as aspected.

NuGet Package Manager allow me only to install 5.81.462 if i change my targetframework to net6-windows.
And if i change the version number in the csproj file manually, it won't build.

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

More
27 Nov 2024 16:26 #13290 by support
Hello.

The OpcLabs.QuickOpc.Design package is marked with <developmentDependency>true</developmentDependency>. (learn.microsoft.com/en-us/nuget/reference/nuspec ). The idea was that only Visual Studio will use it (in the designer).

Which development tool are you using?

if it does not work like expected, we may have to remove that dependency for net6.0.

Best regards

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

More
27 Nov 2024 10:19 #13289 by dominikdoerr
The newest version 5.81.462 has one internal dependency OpcLabs.QuickOpc.Design and this library is working on Net4.7.2 and net6.0-windows7.0.
But we are using the opc-library cross-plattform, so we also have to build it for linux.
So in our project we cannot use net6.0-windows, we have to use .net6 or .net8 in our scenario.

Is there a OpcLabs.QuickOpc 5.81.462 for linux?

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

Moderators: support
Time to create page: 0.053 seconds