Compile Mono without .NET 2 support

view full story

http://askubuntu.com – 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 i (HowTos)