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 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.
Created attachment 22156 [details]
Live Player Error
When trying to build the App via the Live Player the following error messages (screenshot) appears:
"MainActivity.cs: The type or namespace name 'IMyService' does not exist in the namespace 'Test.App' (are you missing an assembly reference?)
We use the default Xamarin.Forms template created "App.xaml/cs" from the MainActivity when another error pops up:
"MainActiviy.cs" 'App' is a namespace but is used like a type.
Using the latest VS 2017 Preview (Win10 x64) with all Xamarin Updates (followed the setup guide), target device is an Android LG G5.
All error messages relate to the referenced PCL.
The project was created by using the default Xamarin.Forms MasterDetail PCL template in VS 2017.
Can confirm that this also happens when creating a non-forms PCL app as well. All classes that cause errors, originate from the PCL.
Please note that the project in question would compile / builds fine and will run correctly on the device itself (when run directly). The "errors" are only reported when run through the Player.
Have you tried the "Blank" Xamarin.Forms application and started there. The default MasterDetail has some limitations and not supported out of the box with the live player, but we are updating the templates as I type this.
Have you tried out my samples: https://forums.xamarin.com/discussion/95400/samples-from-build-2017-sessions#latest
PCL support has been improved since the last release.