UI.for.WinForms.AllControls.Net60.Trial is missing Telerik.WinControls.UI.Design.dll

1 Answer 220 Views
GridView
Panch Raj
Top achievements
Rank 1
Panch Raj asked on 18 Jun 2023, 04:21 PM

I have used designer of  Telerik Controls for Winforms at runtime. It was working fine in .Net framework 4.8. After upgrade to .net6.0 I used the Nuget package UI.for.WinForms.AllControls.Net60.Trial.  Telerik.WinControls.UI.Design assembly is missing  in this package. Hence runtime designer feature is not working.

 

Panch Raj
Top achievements
Rank 1
commented on 24 Jun 2023, 05:15 PM

We have provided a feature to our customers in which the controls of the forms can be resized and relocated at runtime using the IDesignerHostDesign is stored as a xml file and reloaded when reopened the same form.
After upgrading to .net6.0, we added the Telerik WinForms package- UI.for.WinForms.AllControls.Net60.Trial in WinForms project. Telerik.WinControls.UI.Design.dll is not available in this package. So our runtime designer is not working.  Same was working  in Net4.8 version and  Telerik.WinControls.UI.Design.dll  is present in 2023.1.117.48 version of Telerik WinForms(without Nuget package).

Please share the reasons of missing assembly  Telerik.WinControls.UI.Design in UI.for.WinForms.AllControls.Net60.Trial  and what are the alternatives to resolve the issue?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Jun 2023, 04:39 AM

Hello, Panch Raj,

Telerik UI for WinForms controls used to be automatically added to Visual Studio's Toolbox during the installation process when using .NET 2.0 (up to 4.8) Framework in your project. This means that the Toolbox population relies on the Telerik WinForms version available in the Global Assembly Cache.

With the introduction of .NET Core/.NET 5 and the WinForms designer, the Toolbox configuration doesn't rely on the GAC anymore and it is not necessary to have an installation of the Telerik UI for WinForms suite. The Toolbox version depends on the version of installed NuGet package:

core-toolbox-version001

In order to enable the WinForms Designer, please get familiar with the requirements you need to meet: Design Time.

In case you are experiencing any difficulties with the design time functionality, it would be greatly appreciated if you can provide more details about the precise case.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Panch Raj
Top achievements
Rank 1
commented on 21 Jun 2023, 04:40 PM

We have provided a feature to our customers in which the controls of the forms can be resized and relocated at runtime using the IDesignerHostDesign is stored as a xml file and reloaded when reopened the same form.
After upgrading to .net6.0, we added the Telerik WinForms package- UI.for.WinForms.AllControls.Net60.Trial in WinForms project. Telerik.WinControls.UI.Design.dll is not available in this package. So our runtime designer is not working.  Same was working  in Net4.8 version and  Telerik.WinControls.UI.Design.dll  is present in 2023.1.117.48 version of Telerik WinForms(without Nuget package).

Please share the reasons of missing assembly  Telerik.WinControls.UI.Design in UI.for.WinForms.AllControls.Net60.Trial  and what are the alternatives to resolve the issue.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
commented on 26 Jun 2023, 11:08 AM

Hi, Panch Raj,

Telerik UI for WinForms suite used to have Telerik.WinControls.UI.Design.dll for target framework up to .NET Framework 4.8. For .NET Core (or newer) projects, the suite doesn't offer such a Design.dll since the WinForms designer is completely different. Additional information is available in the following blog post: 

https://www.telerik.com/blogs/new-telerik-ui-for-winforms-designers-dotnet-core-dotnet-5 

I would like to note that even for commercial WinForms .NET Framework applications deployed to your end users, you may deploy the Telerik assemblies together with your application with the sole exception of the Telerik.WinControls.UI.Design.dll assembly. The Telerik.WinControls.UI.Design.dll assembly may not be deployed to end-users under any circumstance. Please refer to the redistributing topic:

https://docs.telerik.com/devtools/winforms/deployment-and-distribution/redistributing-telerik-ui-for-winforms 

I am not familiar with the exact functionality you offer the customers. However, with RadLayoutControl you can quickly design and arrange your controls in complex layouts and it will automatically keep the layout consistent at run-time. This is the proper way to allow the end-users store different layout in xml files and restore it later: 

https://docs.telerik.com/devtools/winforms/controls/layoutcontrol/load-layout 

I hope this information helps.

Tags
GridView
Asked by
Panch Raj
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or