VS2022 Persistence of Telerik Toolbox items

1 Answer 94 Views
General Discussions
John
Top achievements
Rank 1
John asked on 20 May 2022, 08:33 AM

Morning,

I have a project in VS2022 targeting .NET 6.0 and using the UI.for.WinForms.AllControls.Net60 NuGet package. On installation of the package all controls appear in the Toolbox as expected. Upon restarting Visual Studio, all of the controls have disappeared. Attempting to re-add them manually from Choose Toolbox Items and browsing to the package DLLs results in errors as below for each DLL.

Do you have any suggestions as to why the controls won't persist in VS?

We've tried uninstalling and re-installing VS so as to start with a fresh install but the same issue occurs.

Many thanks,

John.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 May 2022, 09:13 AM

Hello, John,

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 installed NuGet package.

I would recommend you to have a look at the following help articles which are quite useful on this topic:

https://docs.telerik.com/devtools/winforms/core/core-toolbox-version 

https://docs.telerik.com/devtools/winforms/core/design-time 

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

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or