convertersystems / opc-ua-samples

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

Wpf on .NET 5 #45

Closed dubeg closed 3 years ago

dubeg commented 3 years ago

Hi team, I just started playing with your library, and so I created a Console on .NET 5 using your sample code: everything worked fine. However, I couldn't get it to work on Wpf on .NET 5. I set it up exactly as in your sample Wpf .NET 4.6 app, but it wouldn't log anything in the Output window and the window would only show "connecting". I don't know much about async machinery, but I noticed it hanged on await this.whenSubscribed.Task in SubscriptionBase.

On the other hand, when I recreated your wpf sample using .NET 4.8, everything worked fine.

Is this something you ever tried?

dubeg commented 3 years ago

Ah dang, I posted in the wrong repo.