[Mono-list] Mono and Microsoft.CSharp.CSharpCodeProvider?
Robert Jordan
robertj at gmx.net
Tue Aug 22 03:14:46 EDT 2006
ChrisTheAvatar wrote:
> Does mono have a CSharpCodeProvider implemented that I should be using
> instead of Microsoft.CSharp.CSharpCodeProvider?
No, Microsoft.CSharp.CSharpCodeProvider is the correct provider.
>
> I am using the class to dynamically compile c# scripts from a compiled
> program but mono throws an error under linux:
> ->Unhandled Exception: System.ComponentModel.Win32Exception: Cannot find
> the specified file
CSharpCodeProvider cannot find the compiler ("mcs" and "gmcs").
Assure that both files are in your PATH.
Robert
More information about the Mono-list
mailing list