Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Correct migration to .NET6
posted

Hello.

We've been using Infragistics .WPF + WinForms 2015.1 controls in our product for several years and now decided to migrate from .NET Framework 4.5 to .NET6 (as the first step of eventually migrating to .NET 8).

WPF part migrated seamlessly but we had some errors with our WinForms part, because some WinForms controls like ContextMenu were not available in .NET6 anymore.

So we decided to evaluate the current Infragistics WinForms version 24.1 trial before buying the new version. Installed it and replaced the dll references from v15.1 to v24.1. Some errors (like the one about ContextMenu) disappeared. But some remained, in particular it's failing to load type StatusBar from System.Windows.Forms 6.0 when loading UltraWinDock.

I can share the exact error if that helps but first I wanted to check if we chose the right way to upgrade? I've read in other topics something about we can't use plain dlls anymore with .NET5+ and have to use NuGet instead but I'm not sure why that is so.

So what's the correct way to upgrade WinForms project with Infragistics controls from .NET Framework to .NET6?

Thanks in advance.