This is a migrated thread and some comments may be shown as answers.

Get netcore-controls into ToolBox

3 Answers 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hans-Peter
Top achievements
Rank 1
Hans-Peter asked on 14 Jan 2020, 02:10 PM

Hello,

I am struggeling with a Telerik for WPF project with the .netore controls.

When creating a project, based on dotnet45, i get all Telerik-controls in the toolbox-window of VS2019.

When creating a project, based on netcor30, i get no Telerik-controls in the toolbox-window of VS2019.

I tried the manual way, described on Telerik help pages, but it does`nt work.

If i select a Telerik-Assembly from lib-directory (created by the Telerik-template an VS2019), maybe Telerik.Windows.Controls.dll, i only see a VS progess-bar working and working and working ...

After 5 minutes, i killed VS2019.

I work on Windows10, 1909 (Build 18363.535) with almost .netcore from 3.0, 3.0.1, 3.1, ... installed (SDK, Runtime, Desktop, ...).

VS2019 Professional: 16.4.2

I7 4770k, 32 GB Ram, only SSDs on board.

Can someone help me?

3 Answers, 1 is accepted

Sort by
0
Hans-Peter
Top achievements
Rank 1
answered on 14 Jan 2020, 02:25 PM

I read this post from october: https://www.telerik.com/forums/net-core-and-telerik-toolbox-items

but in all Telerik packages I can'nt find the appropriate Nuget package: UI for WPF .NET Core nuget package

0
Hans-Peter
Top achievements
Rank 1
answered on 14 Jan 2020, 02:54 PM

I do a try and error: You have to install Telerik.Windows.Controls.for.Wpf.de to get the Telerik-controls into toolbox.

I think, this should be anounced to all new users :-)

0
Martin Ivanov
Telerik team
answered on 16 Jan 2020, 12:22 PM

Hello Hans-Peter,

It is great to hear that you managed to achieve your requirement.

Indeed, the Visual ToolBox starts showing Telerik controls for a WPF .NET Core project, only if you install the Telerik dlls via nuget. This is told in the following help article: https://docs.telerik.com/devtools/wpf/netcore/overview#design-time-support

As for which nuget you need to install, there is no indication about the .NET version of the nuget. This is because, the nuget contains dlls for all supported .NET versions and references the correct ones based on the Target Framework of the project. You can find this information in the following article:
https://docs.telerik.com/devtools/wpf/getting-started/installation/installation-installing-from-nuget-wpf#available-packages

I hope this information helps.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Hans-Peter
Top achievements
Rank 1
Answers by
Hans-Peter
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or