I have an application that is targeted to
.NET Framework 4.0, and I am building an installer script for Linux that needs to build a custom version of Mono which is installed to the user's home directory (or location of choice).
There is some documentation on Unsupported Advanced Mono Compile Options that states you can specify
--with-profile2=no in the configure command. I tried this and it did not work, so looking further into the configure script, I see that nothing is actually done with this option.
I have not yet been able to determine if there is a compiler flag I can set or if there is another option that would let me skip building .NET 2 runtime files since it takes about 20-30 minutes to build Mono.
The configure command I was trying:
./configure \ --prefix=/opt/mono \ --with-profile2=no \ --with-moonlight=no \ --with-profile4=yes \ --enable-minimal=reflection_emit
This is Ubuntu 10.10, and I am building Mono from source using the latest version