Nuget Package versions compatibility

2 posts, 0 answers
  1. V
    V avatar
    1 posts
    Member since:
    Jun 2018

    Posted 09 Jun 2018 Link to this post

    Please help on getting over these warnings:

    "SeverityCodeDescriptionProjectFileLineSuppression State

    WarningSkipping TelerikXamarinApp1.Android.Resource.Drawable.ic_collapse_00009. Please check that your Nuget Package versions are compatible.TelerikXamarinApp1.Android"

     

    I read some help before and tried many stuff people were saying but I cannot get over them.

    Thank you!

     

  2. Lance | Team Lead - US DevTools Support
    Admin
    Lance | Team Lead - US DevTools Support avatar
    1044 posts

    Posted 12 Jun 2018 Link to this post

    Hello Valisua,

    Unfortunately, there is no way to remove them other than to drop the project's target SDK to 23.3 and reinstall all the Xamarin Android Support packages using v23.3. 

    Rest assured that it doesn't have any impact on the result of the compilation or the run time application because I can confirm UI for Xamarin works with newer version of Xamarin.Android.

    Microsoft or Xamarin doesn't offer a way to ignore those warnings from your project, there are suggestions on using PRAGMA definitions and adding warning codes to the "Ignore" box in the project's Build settings, but I've found this doesn't remove all of them either.

    The reason you're seeing them is because we compile Telerik UI for Xamarin to support a minimum Android SDK level of 23.3. This happens with any 3rd party package that is compiled with an older version of the Xamarin Android Support Libraries.

    We do plan on updating the minimum version, but not to the latest version (because this would break every project that isn't targeting the latest version of Android). Even if we did update to the latest, it would be a temporary solution because the next time Xamarin releases an update to the support libraries, you'll see the warnings again. Ultimately, there needs a be a solution from Microsoft on a way to disable these warnings.

    Regards,
    Lance | Tech Support Engineer, Sr.
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top