[Mono-list] What's in your GAC?

Sandy Armstrong sanfordarmstrong at gmail.com
Fri Nov 14 19:48:11 EST 2008


Alexy Khrabrov wrote:
> Installed Mono 2.0.1 today, had two previous versions, 1.5.x and
> 2.0.0.  Now am understanding GAC and other new thingies, and when I
> do gacutil -l, only see the previous two versions of things like
> Mono.Posix listed, but not 2.0.1.

This is expected:

[mono] ~ @ gacutil -l | grep Posix
Mono.Posix, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
Mono.Posix, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756

Assembly versions have no direct correlation with your version of Mono. 
Those assemblies really just represent two different versions of the
Mono.Posix API.  When bugs are fixed but the API doesn't change, there's
no need to change the assembly version.

> When I try to edit the references in MonoDevelop itself, they won't
>  budge (no editing visible to the eye except [-] to remove 'em.)  So
> I just edit them in the .mdp project in a text editor. For DLLs, I
> fix the paths, but for assemblies, I need to know their public keys.

Did you right-click on "References" under your project (in the Solution
Explorer) and select "Edit References..."?  There's a whole dialog for
adding and removing references to your project, with entries from the
GAC, and the ability browse for other assemblies on your system.

Sandy


More information about the Mono-list mailing list