[MonoDevelop] Alternate location for mscorlib & gac dlls for stripped down mono.

Doug Blank doug.blank at gmail.com
Tue Mar 12 13:05:26 UTC 2013


On Tue, Mar 12, 2013 at 6:48 AM, Emile Bosch <mielzpost at gmail.com> wrote:
> Hi!
>
> For my quest to build an embedded mono/node equivalent using kqueue. (Im on
> mountain lion osx) I have now stripped down mono to 12.4 MB. With MCS and
> mono.
> I want to be able to get rid of the GAC. I want to be able to place
> mscorlib, system, system.core, system.xml etc.  In the same directory as my
> other bin files. Or even specify in the end a alternate directory such as
> modules in the end which can be installed using a package manager.
>
> However, mono keeps demanding i place these files in the GAC directory, and
> the mscorlib in the mono/4.5 directory. Placing the dll's next to the mono
> exe doesn't matter, it keeps nagging it's not in the right directory. Does
> anyone know how to solve this problem?
>
> PS. My endgoal is to embed. System, mscorlib all in one c app using the mono
> embedded strategy using kqueue for event polling in such creating a semi
> .net node eqv.
>
> Thanks,
> Emile

I believe that this is called "making a package relocatable" and Mono
does not support this on a Mac (Windows does, and can be "xcopied").
It could be that if you change all of the hardcoded paths in the Mono
Framework subdirectories, you could make this work (and I would be
very interested in this too).

See related question here:
http://stackoverflow.com/questions/12145204/mono-install-on-windows-mac

If you find a solution, please let us know.

-Doug

> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list