[Mono-dev] CodeDomProvider calls mcs

R Zaghi rzaghi at mosaic3dx.com
Thu Dec 7 05:46:25 UTC 2017

I was under the impression that with Mono using the CodeDomProvider would
mean using the required runtime assemblies to compile code at runtime
without depending on mcs or any external process.

But I think this assumption is wrong and using CodeDomProvider actually
does an exec() or fork() of new process to call the mcs that is on the

Could someone who is familiar please comment?
Is this always the case or do I have some sort of a
setting/configuration/manifest causing this?

What I was looking for was a way of "compiling" user scripts into permanent
"plugin" DLL files on disk that can be quickly loaded and used at a later
point (Mono.CSharp can't do this right?).

And I would prefer if this didn't make my application depend on installing
a full C# compiler on the system.

Any suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20171207/a26fc3eb/attachment.html>

More information about the Mono-devel-list mailing list