[Mono-list] [Solved] Mono 2.4: "The assembly was not found in the Global Assembly Cache"

Michael B. Trausch mike at trausch.us
Sun Apr 12 00:01:58 EDT 2009


On Sat, 11 Apr 2009 22:03:11 -0400
Michael Hutchinson <m.j.hutchinson at gmail.com> wrote:

> Probably not the cause of your problem, but note that if you have a
> Mono from packages in /usr then installing Mono and related libraries
> from source to /usr/local is generally a bad idea. For a start,
> pkg-config has both /usr and /usr/local hardcoded as search paths, so
> compilations against either of the two Monos can pull in references
> from the other Mono, which don't then work at runtime. Please read
> http://www.mono-project.com/Parallel_Mono_Environments for more info.

Hi,

As it turns out, the problem was permissions.  The whole of the Mono
runtime environment was being installed with proper permissions, save
for the GAC -- the GAC for some strange reason was being installed with
proper owner permissions, but absolutely zero group and world
permissions, resulting in Mono (when being run as a user) not finding
the libraries in the GAC.

This was a base Debian server install, without Debian's Mono installed
(they are using _far_ too old a version for what I need).

	--- Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20090412/c1519343/attachment.bin 


More information about the Mono-list mailing list