Skip to content

Missing method: BasicPublish after update to latest mono and xamarin.ios sdk #1032

@bnikollov

Description

@bnikollov

We are using the RabbitMQ client library with Xamarin application. After the latest update of mono SDK and Xamarin.iOS SDK we got an issue on the iOS application. For some reason the BasicPublish method is missing. Here is the error:

"DeviceModel":"Apple iPhone","OS":"iOS 14.4.1","message":"Exception","ExceptionMessage":"Method not found: void RabbitMQ.Client.IModelExensions.BasicPublish(RabbitMQ.Client.IModel,string,string,RabbitMQ.Client.IBasicProperties,System.ReadOnlyMemory1<byte>)","StackTrace":" at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:471 \n at Vapp.Services.Network.QueueApi.WebMessageClient.SendMessageAsync (Vapp.Models.Network.QueueApi.Outgoing.OutgoingWebMessage message) [0x0000c] in <8b277fb515eb472fb32c2af9d425a279>:0 \n

We thought it could a Linker issue but the error is still there if turn off the Linker at all.

Thanks in advance! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions