OK, I'm back trying to get MaestroAPI work with MGOS2.2 ddl's. I have decompiled the dll's, edited the il-files and compiled them with the maestrokey. Then I tried using the strong signed dll's in a basic webapplication: just trying to get a connection to MapGuide without the MaestroAPI.
Know I got the following error: Could not load file or assembly 'OSGeo.MapGuide.Foundation, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)":"OSGeo.MapGuide.Foundation, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null" I thought I've done something wrong in the process of strong naming the dll's. So I double-checked the procedure. I also looked at the files with .NET Reflector: the dll itself and all their references to OSGeo.MapGuide.*.dll have PublicKeyToken=f526c48929fda856. So I'm absolutely sure that they are correct In my tests I also tried to change the version (see my previous post) and replaced all the strings "1.0.0.1" to "2.2.0.0". Compilation seems to work. Now the error looks like that: Could not load file or assembly 'OSGeo.MapGuide.Foundation, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)":"OSGeo.MapGuide.Foundation, Version=2.2.0.0, Culture=neutral, PublicKeyToken=null" The version has changed in error message but not the PublicKeyToken. So, is there maybe another place where we have to change the key or do we missing anything else? Gunter -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Again-strong-naming-of-MapGuideDotNetApi-dll-tp5622823p5638613.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
