[Mono-list] Is there any way to load *.cs code file dynamiclly?

Jonathan Pryor jonpryor at vt.edu
Mon Jan 24 10:52:51 EST 2011


On Jan 24, 2011, at 9:35 AM, xoyojank wrote:
> I want to use C# as a script language, and my host language is C++.
> How I can directly run C# string with the help of mono? I donnot want to
> compile the script into dll.

You want Mono.CSharp.dll:

	http://www.go-mono.com/docs/index.aspx?link=N:Mono.CSharp

You'll also need to use the mono embedding API:

	http://mono-project.com/Embedding_Mono

 - Jon



More information about the Mono-list mailing list