Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
1. Start clean Android Application project
2. Install the support lib v13 from Components
3. In MainActivity.OnCreate, simply declare ViewPager pager;.
1. XS offers the user to resolve ViewPager to using Android.Support.V4.View.ViewPager only.
2. Accepting the above import lets the project build, but throws a warning that:
MainActivity.cs(4,4): Warning CS0618: `Android.Support.V4.View.ViewPager' is obsolete: `Please use the Xamarin Component: http://components.xamarin.com/view/xamandroidsupportv13-18' (CS0618)
The component it asks the user to install is the same one as the one already having been installed.
Hey Christopher, can you let me know what references you have in your project?
I just tried this and it worked fine - ViewPager is in the Android.Support.V4.View namespace, and no warning. However, i notice that I do not have any other references to any other support libraries so just check that you do not have Android.Support.v4.dll as one of the references in your project.
Closing for now, please feel free to reopen if the problem recurs along with any additional information you have to help us resolve the issue.