Skip to content

Commit

Permalink
2004-06-28 Atsushi Enomoto <atsushi@ximian.com>
Browse files Browse the repository at this point in the history
	* CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
	  check mcs.exe. It enables xsp working with mono windows installer.

svn path=/trunk/mcs/; revision=30472
  • Loading branch information
atsushieno committed Jun 28, 2004
1 parent 6982122 commit 28ff9d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
Expand Up @@ -59,7 +59,12 @@ static CSharpCodeCompiler ()
windowsMonoPath = Path.Combine (
Path.GetDirectoryName (
Path.GetDirectoryName (p)),
"bin\\mono.exe");
"bin\\mono.bat");
if (!File.Exists (windowsMonoPath))
windowsMonoPath = Path.Combine (
Path.GetDirectoryName (
Path.GetDirectoryName (p)),
"bin\\mono.exe");
windowsMcsPath =
Path.Combine (p, "1.0\\mcs.exe");
}
Expand Down
5 changes: 5 additions & 0 deletions mcs/class/System/Microsoft.CSharp/ChangeLog
@@ -1,3 +1,8 @@
2004-06-28 Atsushi Enomoto <atsushi@ximian.com>

* CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
check mcs.exe. It enables xsp working with mono windows installer.

2004-06-24 Atsushi Enomoto <atsushi@ximian.com>

* CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe
Expand Down

0 comments on commit 28ff9d2

Please sign in to comment.