CodeDomProvider calls mcs
R Zaghi <[email protected]> Thu, 7 Dec 2017 05:46:25 +0000
| Newsgroups | gmane.comp.gnome.mono.devel |
|---|---|
| Message-ID | <CAFLMc5vB5338nwTAVbw9VsK38qophZpfrzka-WxJET6FzhGZdw@mail.gmail.com> |
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 system. 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? Thanks Ramin _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.dot.net/mailman/listinfo/mono-devel-list