https://bugzilla.novell.com/show_bug.cgi?id=640644
https://bugzilla.novell.com/show_bug.cgi?id=640644#c0 Summary: add an embedding function to set GAC paths directly Classification: Mono Product: Mono: Runtime Version: 2.6.x Platform: 32bit OS/Version: Windows Status: NEW Severity: Enhancement Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=390575) --> (http://bugzilla.novell.com/attachment.cgi?id=390575) proposed patch User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100915 Linux Mint/9 (Isadora) Firefox/3.6.10 Wine uses Mono's embedding API to replace MS .NET when it is available. Some Windows programs (correctly) install assemblies to c:\windows\assemblies\GAC_MSIL. These programs must be able to find the installed assemblies to function. With the current embedding API, including the MONO_GAC_PREFIX environment variable (which in this case unhelpfully appends /lib/mono/gac to the path given), it is impossible for Wine to ask Mono to search this directory. To fix this problem, I would like to ask for an API function that Wine can use to supply a GAC path for Mono to search, without having mono append /lib/mono/gac. I'm attaching a patch for this, and I've verified that it's usable for this purpose. To avoid adding more special cases, I've reused extra_gac_paths and changed its meaning so that it includes lib/mono/gac when needed (i.e. when it is set from the MONO_GAC_PREFIX environment variable). I have not yet verified that MONO_GAC_PREFIX still works properly, as I do not have a good test case handy. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
