This is a migrated thread and some comments may be shown as answers.

Blazor UI linker warning

7 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Wayne Hiller asked on 14 Oct 2020, 03:58 PM

I am getting a linker warning:

SeverityCodeDescriptionProjectFileLineSuppression State
WarningTelerik.DataSource.Extensions.QueryableExtensions.CallQueryableMethod(IQueryable,String,LambdaExpression): Could not resolve dependency type 'System.Linq.Queryable' specified in a `PreserveDependency` attributeBlazor Wasm Kendo 2.ServerILLink0

Error is from the Server project.

 

Blazor Webassembly Hosted app.

VS Version 16.8.0 Preview 4.0
Net5 Version 5.0.100-rc.2.20479.15

Blazor UI Version 2.17.0

7 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 15 Oct 2020, 08:26 AM

Hello Wayne,

While .NET 5 is not yet supported officially, we are working towards compatibility with it. We have not, however, encountered such an error. Could you send us a simple project that showcases the issue so we can have a look?

 

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

0
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
answered on 15 Oct 2020, 01:13 PM

I just noticed I only get the warning when doing a Publish (folder). This was in the warning list too.

 

SeverityCodeDescriptionProjectFileLineSuppression State
WarningTelerik.DataSource.SortDescriptorCollectionExpressionBuilder.Sort(): 'PreserveDependencyAttribute' is deprecated. Use 'DynamicDependencyAttribute' instead.Blazor Wasm Kendo 2.ServerILLink0

0
Marin Bratanov
Telerik team
answered on 15 Oct 2020, 01:16 PM

Thank you for the clarification, Wayne. The publish warnings from the linker are on our to-do list, yet they don't seem to break anything. Do things work fine for you? Our 2.17.0 release should work with .net 5 even if it is not supported yet.

 

Regards,
Marin Bratanov
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

0
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
answered on 15 Oct 2020, 01:41 PM
Yes everything seems to work fine.
0
Marin Bratanov
Telerik team
answered on 15 Oct 2020, 02:10 PM

Thank you for confirming this. If you do find other issues, let us know.

By the way, you may find useful the following two KB articles we already have related to .net 5 features:

 

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

0
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
answered on 15 Oct 2020, 02:37 PM

Thank Marin, I will check them out.

Great product by the way. I now use Kendo for MVC, Kendo for jQuery, Kendo for Vue and Telerik UI for Blazor :)

0
Marin Bratanov
Telerik team
answered on 15 Oct 2020, 03:33 PM

Thank you, Wayne, I will make sure the teams sees your post :) I'm happy we're helpful in your development :)

 

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

Tags
General Discussions
Asked by
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Share this question
or