[Mono-list] Instructions for Windows install?
Kevin Goodsell
generic1.20.fusion@neverbox.com
Fri, 16 Apr 2004 23:41:55 -0600
Daniel Morgan - danielmorgan@verizon.net wrote:
> If you are running it in the MS DOS shell, make sure mono "is not in" your
> PATH.
>
> You run mono like: mono
> or mcs like: mcs
>
> Also, if you are running it in Cygwin bash shell, make sure you put mono and
> msc "in" your PATH. This PATH in cygwin can be set editing your
> .bash_profile to include mono in your PATH.
> To run mono: mono.bat
> To run mcs: mcs.bat
OK, I'm almost following this. I didn't know about the .bat files, but I
see them in C:\Windows now. So if I don't screw with my path at all, I
can use 'mono' and 'mcs' from a DOS prompt -- they will invoke the .bat
files to do the right thing. However, in Bash I have to use the command
'mono.bat' or 'mcs.bat', because it doesn't recognize and run a .bat
file when the extension is not given. I should be able to fix this with
a few shell scripts.
I don't know about putting mono.exe and mcs.exe in my Bash path, though.
It won't help me run them without specifying the .bat, as far as I can
tell. Unless it's required for other reasons, it seems like I should
leave them out.
>
> The reasoning behind this (I think):
> If mono.exe and mcs.exe are in your PATH, then they get run BEFORE mono.bat
> and mcs.bat
Yes, if they are earlier in the path and you use the command 'mono' or
'mcs' (without giving the .bat extension). At least I think that's the
way it works.
>
> My personal experience has shown not to install stuff to a directory with
> spaces in the file name, such as, "Program Files".
> At the company I work at, the company policy requires that any network
> shares and folders should not contain any spaces.
Yeah, that's a good point. I've had problems with this in the past. I'll
probably move it to be safe.
Thanks.
-Kevin