Installing UI for WPF from a NuGet package

The following topic describes how you can install Telerik UI for WPF from a NuGet package.

Available Packages

For each NuGet package we provide two options. The Nuget packages that have Xaml in their name will download the Xaml dlls and the ones that don't, will download the NoXaml dlls. Mixing Xaml and NoXaml dlls in your projects is not recommended.

We provide separate packages for the different assemblies from the UI for WPF suite and a common NuGet package containing all the dlls. Below you can find some information about the different packages.

  • Nuget packages with the individual UI for WPF assemblies:

    These packages can be downloaded by using the telerik NuGet server or by using a local package source and they only download the references that the assembly depends on. Additionally, the separate nuget packages will detect the Target Framework of your project and download the UI for WPF dlls with the correct version (.NET Framework dlls or .NET Core dlls (available, since R1 2019)).

  • Nuget packages with all of the UI for WPF assemblies:

    These packages are not available for download from the Telerik Nuget Server. To use them, check out the using a local package source section.

    The NuGet packages containing all of the UI for WPF dlls are available for the supported .NET Framework versions. Since R1 2019, a .NET Core 3 UI for WPF NuGet Package is also available. Common Installing From NuGet NetCore

Using the Telerik NuGet Server

Through the Telerik NuGet Server users can easily include the Telerik UI for WPF suite and update to the latest official version. The following steps will demonstrate how this can be done in Visual Studio:

1.Navigate to the Package Manager Settings menu.

2.Add a new source in the Package Sources section.

3.In the Source field fill the address of the Telerik NuGet Server and click Update.

4.The Telerik Server is added and ready to use. Click on the Manage NuGet Packages menu.

5.Set the Telerik Server as a package source. Enter user credentials (from your Telerik account) when prompted and search for the needed package.

Using this approach you can only use versions from 2016.3.1024 and later. If you need to use a previous version of the suite you will need to create a local package source as described in the next section.

Using a Local Package Source

In order to set up a local package source, you can follow these steps:

You have 4 options when downloading the NuGet packages from your account. The files named Telerik_UI_for_WPF_{version}NuGet{Xaml/NoXaml}_Dev.zip contain the NuGets for all asseblies for the support .NET versions. The files named Telerik_UI_for_WPF_{version}NuGet_Separate_Packages{Xaml/NoXaml}_Dev.zip contain the separate NuGet packages for all UI for WPF assemblies.

  • Download the needed NuGet .zip file(s) depending on whether you're using Xaml or NoXaml binaries and extract it into the folder where your Telerik NuGet packages are located.

If you haven’t set a Telerik NuGet folder, you can do it by clicking the Settings button on the “Manage NuGet Packages” dialog, then add the folder where you’ve extracted the .nupkg file (for example C://Telerik NuGet) as a new package source inside the Options dialog: Common Installing From Nu Get 03

Once you open the “Manage NuGet Packages” dialog in Visual Studio (right-click Project References -> Manage NuGet Packages), you can select the Telerik NuGet option and the available packages there will be shown: Common Installing From Nu Get 02 wpf

Click the “Install” button and the references will be automatically added to your project as shown below: Common Installing From Nu Get 04 wpf

Additionally, you can create a private NuGet Feed and deploy the Telerik NuGet packages there - for more details refer to this blog post.

Installing Latest Internal Build NuGet Packages

You can install and test the Latest Internal Build (LIB) dlls provided on a weekly basis, via the Nuget Package Manager. The LIB nugets are available only as .nupkg files that can be downloaded from your telerik.com account. This means that you will need to create a local package source and copy the files there. You cannot download LIB dlls via the online Telerik nuget server (https://nuget.telerik.com/nuget), because they are not available there.

When you set up the package source and place the NuGet files there, you can find them in the Nuget Package Manager. To see the LIB packages you will need also to check the Include prerelease option. The LIB packages have the -hotfix postfix in the version field.

See Also

In this article
Not finding the help you need? Improve this article