Reputation: 325
I am looking for cross-platform (Windows and mono) solution to compile and execute C# code (with mono) from C++. Is there any way of doing that? I also need to a way of communicating with that assembly after, for example execute methods and etc. In Windows we can use CLI/CLR for that, but this will not work on linux...
Upvotes: 1
Views: 162
Reputation: 518
This type of thing is possible. I don't believe this functionality is built into mono. Have a look at the repl loop implementation CsharpRepl. http://www.mono-project.com/CsharpRepl
Upvotes: 1