Search code examples
c#androidxamarinxamarin.androidandroid-viewpager

The type 'ViewPager' exists in 'Xamarin.Android.Support.Core.UI' and in 'Xamarin.Android.Support.ViewPager'


Update the Core.UI Nugets from 24.x.x to 28.0.x and I get this error, I already removed bin and obj, debug and clean the project, as well as update other Nugets and nothing solves this error message for me.

Error CS0433 The type 'ViewPager' exists in 'Xamarin.Android.Support.Core.UI, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = null' and in 'Xamarin.Android.Support.ViewPager, Version = 1.0.0.0 , Culture = neutral, PublicKeyToken = null '


Solution

  • I did, including all related packages, already solved the problem, what I had to do was uninstall each package with the command 'Uinstall-Package NAME_PACKAGE -Force' and reinstall it