Days ago I was trying to port an .net web application to Mono, everything seemed to be ok since MoMa (The migration analyzer) reported that everything was in place and there was not conflict at all, except that there were some issues when precompiling.
I downloaded also MonoTools since I stopped using MonoDevelop due to some debugging issues I was too lazy to troubleshoot, thought it’d help me to debug the app using Mono but for some reason MonoTools always invokes the .NET 2.0.x aspnet_compiler and there seems to be no way to change this, so it tries to host the app using XSP2.
At the end, tired of looking, since there seems to be no answer or solution for the MonoTools issue, decided the build two small PowerShell scripts for this which I left on my CoderWall Profile.
The first one is very simple, it just invokes xbuild to build the solution:
The second one actually opens Internet Explorer and starts hosting the application using XSP4 instead of XSP2, this gives the sensation of host app then preview.
Obviously you need to have the Mono binaries in your User or System Path.