Forum Xamarin Xamarin.Forms

Xamarin.Forms Bluetooth Samples Broken - References not found?

I have just tried to download the Heart Rate Monitor Example, but the '' reference in the PCL is greyed out and raises an error. Please see the image below.


I also get this message int he terminal at the bottom of the screen:

"Could not install package 'Monkey.Robotics 0.5.2'. You are trying to install this package into a project that targets 'portable-net45+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

Not quite sure how to resolve this, as all I can do is install the NuGet package, but then it comes under packages.

Thanks for your help.

Best Answer


  • mattwardmattward GBMember Xamurai

    The Monkey.Robotics NuGet package does not have a portable class library (PCL) assembly so you cannot install it into the PCL project. However it looks like it could and should have a PCL assembly since it includes the, which is a PCL assembly, in each of the platform specific folders.

    The is from the Monkey.Robotics-0.5 component from the Xamarin Component Store and not the NuGet package. Components should automatically restore when the solution is opened. The Core project is referencing the ..\Components\Monkey.Robotics-0.5\lib\ios\Robotics.Mobile.Core.dll so does that file exist? The Components directory will be inside the solution directory.

  • GeorgeEdwardsGeorgeEdwards GBMember ✭✭

    I downloaded the whole git repository, however, that file path didn't exist. I have downloaded the Xamarin component and copied it into the file. See the path below. However, I am still getting the same error?


  • mattwardmattward GBMember Xamurai

    The Component itself would not be in the Git repository. Xamarin Studio should have downloaded it for you when the project was opened.

    The path to the Robotics.Mobile.Core.dll looks to be different since you have downloaded a later version (0.5.2) of the Monkey Robotics component. The project is looking for Components\Monkey.Robotics-0.5\lib\ios\Robotics.Mobile.Core.dll whilst your directory will be Components\Monkey.Robotics-0.5.2\lib\ios\Robotics.Mobile.Core.dll would download the older version.

  • GeorgeEdwardsGeorgeEdwards GBMember ✭✭

    OK, I have added the older version too now, see below:


    I still get this error message pop up when I open the file:

    Could not load project 'HeartRateMonitor.Core\HeartRateMonitor.csproj' with unknown item type '{786C830F-07A1-408B-BD7F-6EE04809D6DB}'

    Any thoughts?

  • nebositenebosite USMember ✭✭

    I'm running into this too. The sample projects are not building in visual studio 2015 and Xamarin Studio because it can't find the Robotics.Mobile.Core dll

Sign In or Register to comment.