[Mono-list] Creating a new AppDomain with mkbundle'd app

cocowalla colin.anderson333 at gmail.com
Tue May 6 21:15:30 UTC 2014


So... the mkbundle saga of woes continues :`(

I've got a .NET application built with Mono that I've mkbundle'd.

This application creates a new AppDomain, and this works just fine on
Windows. However, when running the mkbundle'd app I get:

    System.IO.FileNotFoundException: Could not find file
"/home/my-user/my-app/bin/Company.Product.exe".
    File name: '/home/my-user/my-app/bin/Company.Product.exe'

It's the call to AppDomain.CreateDomain that is failing. This *sort* of
makes sense, since Company.Product.exe no longer exists; all I have is the
single, mkbundle'd native binary. But I would have expected the mkbundle
linking process to somehow deal with this :/

Is it possible to create a new AppDomain with an mkbundle'd app?



--
View this message in context: http://mono.1490590.n4.nabble.com/Creating-a-new-AppDomain-with-mkbundle-d-app-tp4662694.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list