Scan for Mono Compatibility


There are some common stumbling blocks that keep .NET applications from being able to run on Mono. These can be due to using parts of the .NET framework that Mono does not implement or implements differently, or reliance on native platform code like user32.


The Mono Migration Analyzer (MoMA) can scan your compiled assemblies for these types of issues and point them out, making it easy to find them and work around them.



Step 1:

Open your solution in Visual Studio and ensure it compiles.


Analyzing with MoMA - Step 1

Step 2:

Select the Mono->Analyze for Mono Migration (MoMA) menu item.


Analyzing with MoMA - Step 2

Step 3:

MoMA will scan your application and look for code that may cause issues on Mono. These issues will be rated and placed in the Error List. Clicking them will take you to the affected code.


Analyzing with MoMA - Step 3


For details on the types of issues MoMA scans for, and how to fix them, please see the MoMA User's Guide.