Search code examples
monomoma

Mono Migration Analyzer: What are all of the command line switches?


So I'm looking here and I see the command line switches. http://mono-project.com/Command_Line_MoMA

This is what I see as the total amount of switches from the site:

MoMA.exe --nogui --out C:\app\momareport\report.html C:\app\myapp.exe

One thing I see is the submit.xml going to a place I don't want during my automated build. Since it is a generated file, I want to change where it goes. Is there a switch for that?

Also, what are all of the switches for it?

If there is not a switch for moving the submit.xml to a reporting location, please consider it for future versions.

EDIT: The argument --help does not work. I tried that and a host of others to try to get some dialog from MoMA on the command line. I'm on Windows to help alleviate any confusion.


Solution

  • Those are the only command line switches supported by MoMA. You can see the code here.

    "MoMA.exe --help" does not work because MoMA is compiled as a winforms application so that the command window is not shown. As a result, MoMA disconnects from the command window, and therefore things like Console.WriteLine will not work.

    To answer your actual question, there is currently not a way to change where the .xml file gets put.