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
1470
Issues with designer in Visual Studio 2019 and .NET 5
posted

Hi there

I am having issues viewing my controls in the VIsual Studio 2019 16.10.4 where I am compiling against Infragistcs 2021.1 v 21.1.32-ci

This is in a C# WinForms app targeted at net5.0-windows

Basically none of my controls will display in the designer without errors.

The controls all compile fine and are all usable at runtime, the issue occurs only in the control designer and for even the most basic of controls i.e. a panel that inherits from the UltraPanel and does nothing else

The errors are always the same across all controls.

I have attached the control and a screenshot of the error.

Any ideas would be greatly appreciated.

Regards

Geoff

Parents
No Data
Reply
  • 1470
    Offline posted

    Hi again

    It looks to me like there is an issue with Visual Inheritence in .NET 5 that is NOT there for .NET Framework 4.6.2 when using Infragistcs 2021.1 v 21.1.32-ci

    Any control that derives from Infragistics seems to have an issue in .NET 5 whilst there is no issue with .NET 4.6.2

    In the attached sample you can see that RamesysPanel has the errors when loading in design view of VS 2019 v16.10.4

    where as the UserControl1 control which derives from UserControl has no such issue.

    Thanks

    Geoff

    WinFormsApp1.zip

Children