New to Telerik UI for WinForms? Download free 30-day trial

Form's Designer doesn't Open in .NET Core

Environment

Product Version Product Author
2020.2.616 UI for WinForms Desislava Yordanova

Problem

Opening a RadForm's designer with Telerik controls in a project that targets .NET Core will bring errors and the designer won't be loaded.

Resolved with releasing the NET Core Design Time.

Solution

The WinForms designer in .NET Core is still in its preview and currently it misses key features like support for libraries of third-party vendors. We are closely working with Microsoft to determine the best possible implementation approach. At the moment, we cannot provide you with a time estimate for a possible release or preview of the feature. I would recommend you to have a look at the following blog post that Microsoft released on this topic: Windows Forms Designer for .NET Core Released.

I can suggest referring the official Microsoft documentation for details on porting a project built on the full .NET framework to .NET Core: Overview of porting from .NET Framework to .NET Core. Please bear in mind that the project file format in .NET Core is different so it will be necessary to update the old .csproj files. Microsoft have developed a tool to automate this process: Try-Convert.

Since R2 2020 Telerik UI for WinForms suite provides tooling in Visual Studio 2019, via our Visual Studio Extensions, that will convert client projects that use .NET Framework 4.8 (or lower) into .NET Core projects to ease out the migration: .NET Core Project Converter.

As for the designer, please note that even the Microsoft implementation is still limited and only available as a preview in Visual Studio. If you need to target .NET Core and have complex designers you may consider trying the workaround as explained here: Windows Forms .NET Core Designer. With this approach you can still target .NET Core and at the same time achieve the design-time experience you are already used to.

See Also

In this article