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

Daniel Morgan danielmorgan@verizon.net
Wed, 12 Nov 2003 12:49:40 -0500

Maybe mcs.exe could be renamed to something mcsharpc.exe and then use a
batch script mcs.bat or mcs.cmd to run it.  Or under cygwin, create a mcs.sh
bash script.

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of George Kodinov
Sent: Wednesday, November 12, 2003 4:04 AM
To: MONO List
Subject: [Mono-list] Mono on Win32 actually requiring MS.NET 1.1 to run


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

Mono-list maillist  -  Mono-list@lists.ximian.com