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

Nuget Package versions compatibility

1 Answer 170 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
V
Top achievements
Rank 1
V asked on 09 Jun 2018, 12:23 PM

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!

 

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 12 Jun 2018, 04:52 PM
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
Tags
General Discussions
Asked by
V
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or