diff options
author | Lluis Sanchez <lluis@novell.com> | 2004-07-22 21:36:52 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2004-07-22 21:36:52 +0400 |
commit | 6ac70f813ae24d20247dd157b905c99c1d00b6b7 (patch) | |
tree | 387c1c488406ef7f53cb3d02668d1c4b039d08da /mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs | |
parent | 51e69e467409354ac028348ea4aa798894fbe74f (diff) |
* CSharpCodeCompiler.cs: Hack to make code generation work in 2.0.
svn path=/trunk/mcs/; revision=31378
Diffstat (limited to 'mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs')
-rw-r--r-- | mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs index edc8da68872..bd381f81145 100644 --- a/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs +++ b/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs @@ -139,7 +139,12 @@ namespace Mono.CSharp mcs.StartInfo.Arguments = windowsMcsPath + ' ' + BuildArgs (options, fileNames); } else { +#if NET_2_0 + // FIXME: This is a temporary hack to make code genaration work in 2.0 + mcs.StartInfo.FileName="gmcs"; +#else mcs.StartInfo.FileName="mcs"; +#endif mcs.StartInfo.Arguments=BuildArgs(options,fileNames); } mcs.StartInfo.CreateNoWindow=true; |