[Mono-dev] Compiling System.Web with CSC

Miguel de Icaza miguel at ximian.com
Tue Sep 27 18:12:03 EDT 2005


> I think it is a bad idea, specially considering that it means that we
> have to write more and debug more code than we otherwise would.
> There is an easy solution that I mentioned before which is that we can
> add support to mcs to generate pdb files instead.  
> MCS already uses the API to generate debugging information, the only
> difference is that it consumes a Mono-specific API instead of the
> cross-platform API.
> We did not use the cross-platform API in the past because we did not
> have information on how to use it, but now IronPython has code that
> shows how to use it.

Alternatively to upgrading mcs, you can use csc, and then do:

	ildasm /out:output file.dll
	sed script
	ilasm output.il

Where the sed script would remove the couple of new keywords on ildasm
and replace the 2.x references with 1.x references.

More information about the Mono-devel-list mailing list