Compiler Error CS0012 after Update to 2.26

4 Answers 93 Views
General Discussions Grid
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Matthias asked on 04 Aug 2021, 08:44 AM | edited on 04 Aug 2021, 08:45 AM

Hi

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 is not 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" />

 

yet I get the error at this position
  GridState<Wegpunkte> desiredState = new GridState<Wegpunkte>()
        {
            SortDescriptors = new List<SortDescriptor>()
        {
                new SortDescriptor {Member = "TourPos", SortDirection = ListSortDirection.Ascending}
            }
        };
is there a solution for this?
Thank you very much

4 Answers, 1 is accepted

Sort by
2
Accepted
Joana
Telerik team
answered on 04 Aug 2021, 04:58 PM

Hi all,

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. I hope that everything will work as expected.

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/.

Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
commented on 04 Aug 2021, 05:09 PM

just tested - everything is now working again

Thank you

Ivan
Top achievements
Rank 2
Iron
Veteran
Iron
commented on 04 Aug 2021, 05:41 PM

You are wonderful!
Gantt charts will definitely be a source of inspiration!
0
Ivan
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 04 Aug 2021, 01:39 PM
The same problem.
Compilation is not possible after upgrade
0
Jozef
Top achievements
Rank 1
Iron
answered on 04 Aug 2021, 01:41 PM
I have the same problem after update to 2.26.0.
0
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
answered on 04 Aug 2021, 02:01 PM

 

I have just created a ticket. Commenting out the affected source code lets the application compile -naturally- without these features.

Ticket - Bug

Tags
General Discussions Grid
Asked by
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Answers by
Joana
Telerik team
Ivan
Top achievements
Rank 2
Iron
Veteran
Iron
Jozef
Top achievements
Rank 1
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Share this question
or