Completed
Last Updated: 06 Jun 2022 08:28 by ADMIN
Release LIB 2022.2.606 (06 June 2022)
Flavio
Created on: 02 Jun 2022 10:46
Category: FileDialogs
Type: Bug Report
1
FileDialogs: Search does not display any results in .NET 6
The search functionality of the file dialogs does not display any results when the project targets the .NET 6 framework.
1 comment
ADMIN
Dilyan Traykov
Posted on: 02 Jun 2022 14:07

This issue was caused due to a version mismatch of the Microsoft.Windows.Compatibility dependency.

The potential fix will resolve the Microsoft.Windows.Compatibility dependency automatically when using the Telerik UI for WPF NuGet packages.

When referencing the assemblies directly, users need to explicitly add a package reference to the respective Microsoft.Windows.Compatibility package if they use .NET Core 3.1 or a later version. For example - 6.0.0 when targeting .NET 6, 5.0.0 when targeting .NET 5 etc.:

  <ItemGroup>
    <PackageReference Include="Telerik.Windows.Controls.for.Wpf.Xaml" Version="2022.2.511" />
    <PackageReference Include="Telerik.Windows.Controls.FileDialogs.for.Wpf.Xaml" Version="2022.2.511" />
    <PackageReference Include="Telerik.Windows.Controls.GridView.for.Wpf.Xaml" Version="2022.2.511" />
    <PackageReference Include="Telerik.Windows.Controls.Input.for.Wpf.Xaml" Version="2022.2.511" />
    <PackageReference Include="Telerik.Windows.Controls.Navigation.for.Wpf.Xaml" Version="2022.2.511" />
    <PackageReference Include="Telerik.Windows.Data.for.Wpf.Xaml" Version="2022.2.511" />
    <PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0.0" />
  </ItemGroup>

Regards,
Dilyan Traykov
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/.