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.
When trying to use version 18.104.22.168 of the Alexa Voice Service for Xamarin https://www.nuget.org/packages/Xamarin.AlexaVoiceService/ in an Xamarin.iOS project I get the following error:
/Users/<myuser>/Developer/PocAVS/iOS/MTOUCH: Error MT2002: Failed to resolve assembly: 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' (MT2002) (PocAVS.iOS)
When inspecting the nuget package and looking at what is in lib/Xamarin.iOS10/Xamarin.AlexaVoiceService.dll
I can see:
using Android.Runtime; <--- What?
[assembly: AssemblyVersion ("22.214.171.124")]
[assembly: ResourceDesigner ("Xamarin.Avs.Resource", IsApplication = false)]
[assembly: Debuggable (DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyCompany ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCopyright ("Copyright © 2016")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyFileVersion ("126.96.36.199")]
[assembly: AssemblyProduct ("AvsSharp.Android")]
[assembly: AssemblyTitle ("AvsSharp.Android")]
[assembly: AssemblyTrademark ("")]
[assembly: RuntimeCompatibility (WrapNonExceptionThrows = true)]
[assembly: ComVisible (false)]
[assembly: TargetFramework ("MonoAndroid,Version=v4.0.3", FrameworkDisplayName = "")]
I have upload a simple project so you can have a look here https://github.com/b099l3/PocAVS but i suspect I have either configured the package wrong or the wrong dll is being added to Xamarin.iOS10 folder in the nuget package.
I'm experiencing the same issue. It works fine on Android, but as the original poster points out it fails building for iOS because it requires an Android assembly.
Due to licensing issues beyond our control we are no longer able provide this package.