androidxamarinxamarin.androidbugsensexamarin-linker

Linking assemblies failed with BugSense for Xamarin.Android


I'm trying to integrate BugSense into my Xamarin Android project.

I followed this guide and when I built my project I got LinkAssemblies error:

Error 1 error MSB4018: The "LinkAssemblies" task failed unexpectedly. 0 0 Error 2 error MSB4018: Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'Android.Views.SurfaceOrientation Android.Views.Display::get_Rotation()' (defined in 'BugSense.Xamarin.Android, Version=3.6.0.2, Culture=neutral, PublicKeyToken=null') from 'BugSense.Xamarin.Android, Version=3.6.0.2, Culture=neutral, PublicKeyToken=null' could not be resolved. 0 0

I tried to add BugSense library via Package Manager Console, then by adding DLL to References and then via NuGet. I built it with Visual Studio 2012 and also with Xamarin Studio but everything failed the same.


Solution

  • The error suggests a problem with linking assemblies.

    Try setting Linking to None in Project properties -> Android Options -> Configuration properties.