[mapguide-users] MaestroAPI Comapatibility
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Sat Jul 25 09:20:27 EDT 2009
You need a version of the MapGuideDotNetApi.dll that is signed
with the correct key.
You can use the Signer tool (from codeplex) to sign the assembly
with the key found in the MaestroAPI source code.
http://www.codeplex.com/Signer
http://trac.osgeo.org/mapguide/browser/trunk/Tools/Maestro/MaestroAPI/maestroapi.key
If the dll is already signed, you have to fiddle a bit with the Signer
to get it to re-sign it.
It looks as if the dll is not signed in the beta.
Once you have the signed version, you need to add an assembly rebinding
directive to
the app.config or web.config:
http://blogs.msdn.com/suzcook/archive/2004/05/14/132022.aspx
(See Example 2)
The publicKeyToken is f526c48929fda856 and the assemblyname is
OSGeo.MapGuide.MaestroAPI.
Regards, Kenneth Skovhede, GEOGRAF A/S
Gunter Becker skrev:
> Hi,
>
> is the current MaestroAPI.dll compatible with the MapGuideDotNetApi.dll that
> ships with the MGOS2.1 Beta1 - Installer.
> In my .NET-WebApplication I got an error that says that MaestroAPI could not
> reference the correct MapGuideDotNetApi.dll. Is there a workaround or is it
> just not supported until final release of MGOS 2.1
>
> Thanks, Gunter
>
More information about the mapguide-users
mailing list