[mapguide-trac] #1903: Refined LocalNative library

MapGuide Open Source trac_mapguide at osgeo.org
Fri Dec 23 10:42:24 EST 2011


#1903: Refined LocalNative library
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng        
       Type:  task     |      Status:  new        
   Priority:  low      |   Milestone:  Maestro-4.1
  Component:  Maestro  |     Version:             
   Severity:  trivial  |    Keywords:             
External_id:           |  
-----------------------+----------------------------------------------------
 The current LocalNative library is hard-referenced against the 2.0
 MapGuideDotNetApi assembly, and asssembly binding redirection is used to
 enable support for newer versions of MapGuide without re-compilation.

 This technique is somewhat inflexible (and probably doesn't work) with the
 advent of 64-bit MapGuide and .net Framework 4.0. It is more efficient and
 simpler to just compile the LocalNative library directly against various
 versions of the MapGuide .net API.

 Then instead of modifying web.config or app.config to set up assembly
 binding redirection, the user simply needs to register the desired
 LocalNative dll into ConnectionProviders.xml (for their version of
 MapGuide) and copy the required unmananged MapGuide dlls over to the
 LocalNative dll location.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1903>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list