[Mono-list] mono/embedded

Wolfgang Mauer wolfgang.mauer at kabelmail.de
Tue Oct 25 00:22:43 UTC 2016


Hi,

do everyone know if there is something like
"AppDomain.CurrentDomain.AssemblyResolve" in embedded Mono?

Thanks

 

 

 

Von: Mono-list [mailto:mono-list-bounces at lists.xamarin.com] Im Auftrag von
Wolfgang Mauer
Gesendet: Sonntag, 23. Oktober 2016 19:59
An: mono-list at lists.xamarin.com
Betreff: [Mono-list] mono/embedded

 

Hi all,

i try to make a kind of stub-loader with mono/embedded.

 

I have read the documentation at
http://www.mono-project.com/docs/advanced/embedding/ and tried a lot of
samples.

None of them examples work(mono 4.6.1/ubuntu 16.10)

 

I like to have a executable(c/c++) that load an c# assembly and run the
public constructor

The assembly constructor will load gtk-sharp(referenced) and call 

                Application.Init();

                ..

Application.Run();

 

But with all my testing the different mono methods the assembly/ctor never
will get called, and no error occurred.

Have someone a really working sample with new versions of mono/ubuntu ?

 

Thanks a lot!

/Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20161025/52161c2b/attachment.html>


More information about the Mono-list mailing list