[mapguide-commits] r4538 - in trunk/Tools/Maestro/MaestroAPI/Signer: . SignedVersions

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jan 15 15:33:56 EST 2010


Author: ksgeograf
Date: 2010-01-15 15:33:56 -0500 (Fri, 15 Jan 2010)
New Revision: 4538

Added:
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-1.2.dll
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-2.0.dll
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-2.1.dll
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/README MaestroAPI Version.txt
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/maestroapi.key
   trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/web.config
Log:
Maestro:
Added signed versions of the MapGuideDotNetApi dll's in different versions.
Also added a bindingRedirect document and a readme.

Added: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-1.2.dll
===================================================================
(Binary files differ)


Property changes on: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-1.2.dll
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-2.0.dll
===================================================================
(Binary files differ)


Property changes on: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-2.0.dll
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-2.1.dll
===================================================================
(Binary files differ)


Property changes on: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/MapGuideDotNetApi-2.1.dll
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/README MaestroAPI Version.txt
===================================================================
--- trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/README MaestroAPI Version.txt	                        (rev 0)
+++ trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/README MaestroAPI Version.txt	2010-01-15 20:33:56 UTC (rev 4538)
@@ -0,0 +1,22 @@
+MaestroAPI targets MGOS 2.0 (and MGEP 2010).
+
+The HttpServerConnection can work with any version
+of MapGuide, but the LocalNativeConnection needs
+the correct version of MapGuideDotNetApi.dll
+
+Unfortunately the official MapGuideDotNetApi.dll
+has varying version numbers, and is usually not signed.
+
+To use the LocalNativeConnction with 1.2 or 2.1, you must
+use a signed version of MapGuideDotNetApi.dll.
+
+The Web.Config file shows how to add a bindingRedirect
+for a ASP.Net application, the same can be done for
+a regulat executable. Just rename Web.Config to match
+your executable, eg MyApp.exe -> MyApp.exe.config.
+
+If you need a special version of MapGuideDotNetApi.dll,
+eg. for a development version of MapGuide, you can
+sign the dll by issuing this command:
+
+..\signer.exe -k ..\..\maestroapi.key -outdir .\out -a MapGuideDotNetApi.dll
\ No newline at end of file

Added: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/maestroapi.key
===================================================================
(Binary files differ)


Property changes on: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/maestroapi.key
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/web.config
===================================================================
--- trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/web.config	                        (rev 0)
+++ trunk/Tools/Maestro/MaestroAPI/Signer/SignedVersions/web.config	2010-01-15 20:33:56 UTC (rev 4538)
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<configuration>
+  <runtime>
+    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+      <dependentAssembly>
+        <assemblyIdentity name="MapGuideDotNetApi" publicKeyToken="f526c48929fda856" />
+
+			<!-- 
+				NOTE: href MUST be absolute, alternative is to just rename 
+			    the desired version of the file and replace MapGuideDotNetApi.dll
+				
+				If you choose the rename option, remove the <codeBase> tags below, 
+				but keep the <bindingRedirect>
+			-->
+			<codeBase version="1.2.0.4103" href="MapGuideDotNetApi-1.2.dll"/> 
+            <codeBase version="2.0.0.2308" href="MapGuideDotNetApi-2.0.dll"/>  
+            <codeBase version="1.0.0.1" href="MapGuideDotNetApi-2.1.dll"/>
+			
+			<!-- Activate MGOS 1.2, MGEP 2008 -->
+			<!-- <bindingRedirect oldVersion="2.0.0.2308" newVersion="1.2.0.4103" /> -->
+
+			<!-- Activate MGOS 2.0, MGEP 2009 , *default* -->
+			<!-- <bindingRedirect oldVersion="2.0.0.2308" newVersion="2.0.0.2308" /> -->
+
+			<!-- Activate MGOS 2.1, MGEP 2010 -->
+			<bindingRedirect oldVersion="2.0.0.2308" newVersion="1.0.0.1" />
+
+		</dependentAssembly>
+    </assemblyBinding>    
+   </runtime>
+  </configuration>



More information about the mapguide-commits mailing list