telerikPrimitivesRadBadgeView It's all quoted

1 Answer 66 Views
BadgeView
zhe
Top achievements
Rank 1
Iron
Iron
zhe asked on 09 Mar 2022, 07:20 AM

WHY

zhe
Top achievements
Rank 1
Iron
Iron
commented on 09 Mar 2022, 05:46 PM

WHY

Lance | Senior Manager Technical Support
Telerik team
commented on 09 Mar 2022, 10:28 PM

Hi Zhe, see Didi's answer for more details on using the correct references and to make sure you are using at least version 2021.2.512

If you are still having trouble, I recommend that you delete all the Telerik DLLs from every project and just install the single Telerik.UI.for.Xamarin NuGet package to every project instead.

zhe
Top achievements
Rank 1
Iron
Iron
commented on 15 Mar 2022, 08:36 AM

 Cannot resolve type "telerikPrimitives:RadBadgeView"  High version class library
Didi
Telerik team
commented on 15 Mar 2022, 08:41 AM

I am pasting my answer here: 

Please make sure you are using Telerik UI for Xamarin version from R2 2021 release and above. RadGabgeView was introduced in version 2021.2.512. Here are the release notes https://www.telerik.com/support/whats-new/xamarin-ui/release-history/ui-for-xamarin-r2-2021-(version-2021-2-512-480 and the blog post: https://www.telerik.com/blogs/telerik-ui-for-xamarin-r2-2021-new-badge-shadow-controls-pdfviewer-features-and-more This version and all versions above have the RadBadgeView control.

In addition, I have noticed you have added Telerik.Xamarin.Android dlls inside the shared project. These dlls are platform-specific dlls and they shouldn't be added to the shared project, only to the platform-specific project - the Android project. 

Please test the above recommendations and if the issue still occurs, open a support ticket and attach the project to it. Once we have the project on our side we can research the case further.

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 09 Mar 2022, 08:05 AM

Hi Zhe,

Please make sure you are using Telerik UI for Xamarin version from R2 2021 release and above. RadGabgeView was introduced in version 2021.2.512. Here are the release notes https://www.telerik.com/support/whats-new/xamarin-ui/release-history/ui-for-xamarin-r2-2021-(version-2021-2-512-480 and the blog post: https://www.telerik.com/blogs/telerik-ui-for-xamarin-r2-2021-new-badge-shadow-controls-pdfviewer-features-and-more This version and all versions above have the RadBadgeView control.

In addition, I have noticed you have added Telerik.Xamarin.Android dlls inside the shared project. These dlls are platform-specific dlls and they shouldn't be added to the shared project, only to the platform-specific project - the Android project. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

zhe
Top achievements
Rank 1
Iron
Iron
commented on 15 Mar 2022, 10:12 AM

2022.1.222.500If the version number is the latest and the class libraries are also referenced, an error is still reported

Didi
Telerik team
commented on 15 Mar 2022, 10:53 AM | edited

I will need the .net standard and android .csproj files. In this way I can research what dlls are added to the platform projects. If you do not want to share the .csproj files here in the forum, open a support ticket and attach them there.

Another approach you can try, add the Telerik UI for Xamarin references using the Telerik NuGet server and check whether this will solve the issue. 
Tags
BadgeView
Asked by
zhe
Top achievements
Rank 1
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or