[Mono-dev] changing the location of mono's global assembly cache
Vincent Povirk
madewokherd at gmail.com
Sun Sep 12 19:17:46 EDT 2010
I'm working on a bug that occurs when Mono is used with Wine's
mscoree.dll to replace .NET in Wine,
http://bugs.winehq.org/show_bug.cgi?id=24172
A Windows program fails trying to load some assemblies that it
installed in c:\windows\assembly\GAC_MSIL. Mono only searches
c:\Program Files\Mono-2.6.7\lib\mono\gac.
It appears to be impossible for me to direct Mono to the GAC_MSIL
folder using the embedding API. I can only change the location of lib,
and Mono will look for the global assembly cache in lib/mono.
I prefer to avoid using symlinks for this. While they are available on
Windows, I don't think Wine supports them properly, and it's a clunky
solution anyway.
Is there any way I can solve this problem with the currently-released
Mono 2.6.7 for Windows?
Failing that, can the embedding API be extended for this?
Failing that, where is the code I need to hack to change this?
Vincent Povirk
More information about the Mono-devel-list
mailing list