Completed
Last Updated: 04 Aug 2021 17:02 by ADMIN
Matthias
Created on: 04 Aug 2021 13:54
Category: Grid
Type: Bug Report
3
Compiler Error CS0012 after Update to 2.26

After the update I get the following error message:

/...Views/ViewRoute.razor(13,13): Error CS0012: The type 'SortDescriptor'is defined in an assembly that isnot referenced. You must add a reference to assembly 'Telerik.DataSource, Version=2.0.10.0, Culture=neutral, PublicKeyToken=29ac1a93ec063d92'. (CS0012)

the package is installed...nevertheless I get the error

<PackageReference Include="Telerik.UI.for.Blazor" Version="2.26.0" /> <PackageReference Include="Telerik.DataSource" Version="2.0.10" />

 

at this position
  GridState<Wegpunkte> desiredState = new GridState<Wegpunkte>()
        {
            SortDescriptors = new List<SortDescriptor>()
        {
                new SortDescriptor {Member = "TourPos", SortDirection = ListSortDirection.Ascending}
            }
        };
 
2 comments
ADMIN
Joana
Posted on: 04 Aug 2021 17:02

Hello,

I have replied in the forum thread, however, for transperency I am pasting the reply here as well:

There was a temporary issue with our download management system that was successfully resolved. Please,

1. Delete the Nuget cache

- You could use VS to delete the whole Nuget Cache

Tools => Nuget Package Manager => Package Manager Settings => General => Clear All Nuget Cache button

- You could delete the Telerik packages cache from C:\Users\[USERNAME]\.nuget\packages

telerik.datasource > 2.0.10 folder

telerik.ui.for.blazor > 2.26.0 folder

2. Install the Blazor package again

- Telerik.DataSource version is updated to 2.0.11 with our 2.26 release.

I apologize for the caused inconvenience.

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

Baires
Posted on: 04 Aug 2021 15:59
Erroring with the same assembly here, but when referencing to DataSourceRequest