[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll
Birgir
bgu at geograf.dk
Fri Oct 15 05:32:49 EDT 2010
Thanks for the howto :)
I have signed the dll's and added them to my project but Im getting the
following error when compile the project.
The type 'OSGeo.MapGuide.MgGuardDisposable' is defined in an assembly that
is not referenced. You must add a reference to assembly
'OSGeo.MapGuide.Foundation, Version=2.2.0.5305, Culture=neutral,
PublicKeyToken=b77a5c561934e089'.
I can see with Red Gate's .NET Reflector that the publickeytoken for all the
references are the same on all the dlls. But when I choose the dlls (in RG
.net reflector) without expending the node the publickeytoken has a
different value.
For example, MapguideDotNetApi.dll has a reference to foundation, which has
the publickeytoken=b77a5c561934e089 and when I open
OSGeo.MapGuide.Foundation.dll without expanding the node the publickeytoken
has the value=f526c48929fda856.
Ive search for the f526c48929fda856 value in the .il files but they only
contain the publickeytoken that is found on the references (eg.
b77a5c561934e089 ).
Ive attached a file the contains the references.
http://osgeo-org.1803224.n2.nabble.com/file/n5638206/pkt.txt pkt.txt
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Again-strong-naming-of-MapGuideDotNetApi-dll-tp5622823p5638206.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list