Xamarin studio Mac and Nuget

How do we install nuget packages on Xamarin Studio for mac??
I get the error "You are trying to install this package into a project that targets 'MonoTouch,Version=v1.0', 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."

Posts

  • mattwardmattward GBMember Xamurai

    Which NuGet package are you installing?

    The error message indicates that the NuGet package you are trying to install into an iOS Classic project but the NuGet package does not contain any assemblies that are compatible with an iOS Classic project.

  • alterechoalterecho USMember

    It's the official official amqp package. Is there any way to convert the assemblies?

  • mattwardmattward GBMember Xamurai

    The source code would need to compiled against MonoAndroid if that is possible. Probably worth contacting the people that created the AMQP you are using.

    The other alternative is to move the AMQP logic to the server side and then use your client app to talk to it using a mobile friendly API (e.g. json over HTTP)

  • alterechoalterecho USMember

    Was thinking the same, but was of the opinion that amqp was was p2p solution and would by-pass the need for a server.

Sign In or Register to comment.