[Mono-list] Mono on Win32 actually requiring MS.NET 1.1 to run ASPX ?

George Kodinov gkodinov@openlinksw.co.uk
Wed, 12 Nov 2003 11:03:34 +0200


Hi,

I've noticed that mono on Win32 actually requires MS.NET 1.1 to be 
installed in order to be able to compile ASPX pages. This is because it 
actually spawns the mcs.exe (using command line 'mcs ..... <temp_file.cs>').
While this is OK on linux (there's a 'mcs' shell script there to run 
'mono mcs.exe ...') on Win32 this causes the MS.NET runtime to be used 
to run mcs.exe. And since there're some 1.1 methods in Mono it won't run 
if only 1.0 is installed.

My questions are :
- why is it nesesary to spawn a process to compile something ? Can't 
most of the mcs be stuffed somewhere inside the runtime libraries and 
only the command line parser etc. to actually reside in mcs.exe ?
- If the process will be spawn in the future as well, can a mcs.bat 
(invoking the Mono runtime to run the mcs.exe) be called (or that be 
parameterizable somehow - environment variables or something) ?

Best Regards,

-- 
George Kodinov               Email : gkodinov@openlinksw.co.uk
Developer                    Web   : http://www.openlinksw.com
OpenLink Software            Phone : +359 32 637 475
XML & E-Business Infrastructure Technology Providers