convertersystems / opc-ua-samples

Sample HMIs using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
107 stars 43 forks source link

.NET Standard - based sample #24

Closed abrasat closed 7 years ago

abrasat commented 7 years ago

Are you planning also to add a sample with the usage of UaClient in a .NET Standard based project ? For instance Xamarin.Forms can use .NET Standard 1.4 based libraries, as described here

awcullen commented 7 years ago

Are we ready to upgrade to VS 2017 only projects in this repo?

abrasat commented 7 years ago

I am working with VS2017 official release and it seems ok. I did not experienced the problems that I had with VS 2017 RC. I am not sure what issues could appear by changing the projects to .NET Standard.

awcullen commented 7 years ago

I think we should leave the Xamarin.Forms sample 'MobileHmi' as a shared project. An important part of the sample is the robot, which requires UrhoSharp. UrhoSharp does not support the NETStandard platform. It requires native libraries for Android, iOS, Win, UWP.

Closing this issue for now.

Savoyyang commented 7 years ago

If don't requires UrhoSharp , can I change shared project to .NET Standard /PCL project?

awcullen commented 7 years ago

You can use UaClient in a .NET Standard project (target framework 1.4 or higher). I don't think you can use UaClient in a PCL project.