Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Getting a MissingMethodException in MonoGame Android

$
0
0

@DarkDragon4900 wrote:

I made a simple 'gamepad' for a game I'm making, and it uses NetworkCommsDotNet to send the button presses to the host. But the problem here is that it either fails to deploy the app or shows a MissingMethodException (Sometimes it shows some sort of error)

I tried commenting the class which uses NetworkComms out and it worked, so I'll make a guess here and assume that the problem is related to using an external DLL. Is there any way to fix it?
Sorry for the long post.

P.S.
This is what the exception window looks like.

Unhandled Exception:

System.MissingMethodException: Method
'AppDomain.add_ReflectionOnlyAssemblyResolve' not found.

[Break] [Continue]

EDIT1: So here's the code for Game1.cs, which contains CircuitBoard.cs.
It's basically a class that combines all of the other classes, such as TouchControls.cs, PacketManager.cs and MessageHandler.cs
(PacketManager uses MessageHandler to send packets, and they are both present in CircuitBoard. As long as they exist in the app, it fails to deploy.)

Posts: 19

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles