Get netcore-controls into ToolBox

4 posts, 0 answers
  1. Hans-Peter
    Hans-Peter avatar
    3 posts
    Member since:
    Feb 2019

    Posted 14 Jan Link to this post

    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?

  2. Hans-Peter
    Hans-Peter avatar
    3 posts
    Member since:
    Feb 2019

    Posted 14 Jan Link to this post

    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

  3. Hans-Peter
    Hans-Peter avatar
    3 posts
    Member since:
    Feb 2019

    Posted 14 Jan in reply to Hans-Peter Link to this post

    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 :-)

  4. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2477 posts

    Posted 16 Jan Link to this post

    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.
Back to Top