[mapguide-users] Re: Again: strong naming of MapGuideDotNetApi.dll

Hans Milling hm at geograf.dk
Mon Jan 2 03:57:14 EST 2012

I think when signing the DLL files manually, you forgot one of the

The error: "The located assembly's manifest definition does not match the
assembly reference" tells you that you are trying to load a DLL that either
has the wrong version or the wrong public key token (or the reference is to
a DLL that does not have a public key token but the actual DLL has one).
One of the first times I signed the DLL files, I forgot to insert the key at
the reference to the OSGeo.MapGuide.Foundation in the
OSGeo.MapGuide.PlatformBase.il file. Where the other files had the
references to the OSGeo DLL files below the mscorlib and system references.
In the OSGeo.MapGuide.PlatformBase.il the references to the Foundation file
is at the top and the reference to the Geometry is below these two, it is
easily missed.
If you still have the IL files check that all references are updated with
the .publickeytoken or run the application as Jackie writes. I wrote that to
avoid making these mistakes when manually signing the files.

Regards Hans Milling...

View this message in context: http://osgeo-org.1803224.n2.nabble.com/Again-strong-naming-of-MapGuideDotNetApi-dll-tp5622823p7143324.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list