[mapguide-commits] r4218 - in trunk/MgDev: Oem/SWIGEx/Lib/csharp Oem/SWIGEx/Source/Modules Oem/SWIGEx/Win32 Web/src/DotNetApi Web/src/DotNetApi/Foundation Web/src/DotNetApi/Geometry Web/src/DotNetApi/MapGuideCommon Web/src/DotNetApi/PlatformBase Web/src/DotNetApi/Web

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Sep 10 20:36:52 EDT 2009


Author: leaf
Date: 2009-09-10 20:36:51 -0400 (Thu, 10 Sep 2009)
New Revision: 4218

Added:
   trunk/MgDev/Web/src/DotNetApi/AssemblyInfo.cs
Modified:
   trunk/MgDev/Oem/SWIGEx/Lib/csharp/csharphead.swg
   trunk/MgDev/Oem/SWIGEx/Source/Modules/csharp.cxx
   trunk/MgDev/Oem/SWIGEx/Win32/Swig.exe
   trunk/MgDev/Web/src/DotNetApi/Foundation/FoundationMakefile
   trunk/MgDev/Web/src/DotNetApi/Geometry/GeometryMakefile
   trunk/MgDev/Web/src/DotNetApi/Makefile
   trunk/MgDev/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile
   trunk/MgDev/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile
   trunk/MgDev/Web/src/DotNetApi/Web/WebMakefile
Log:
Ticket #1027: Implement RFC 68 - Refactoring Web .NET API into Common DLLs

Previously, we change the old MapGuide .NET assembly into an assembly with five netmodules. It has the following issues. 

?\226?\128?\162Generally, the assembly with multiple netmodules is applied to the assembly whose netmodules has no dependencies. In MapGuide, Geometry netmodule depends on Foundation netmodule and PlatformBase netmodule depends on Foundation and Geometry netmodules. 
?\226?\128?\162If the applications based on MapGuide .NET API want to do some changes to their API and they use TypeForwardedTo attribute to keep backward compatibility of their .NET API, it will not work because there is one bug in .NET framework 2.0. This bug results in TypeForwardedTo functionality doesn't work with assebmly with multiple netmodules. There is no public document for this bug. However, I already got confirmation from Microsoft. 
?\226?\128?\162The solution that Microsoft recommends to keep backward compatibility of API is to use TypeForwardedTo attribute instead of netmodule. 

So we want to use TypeForwardedTo attribute to keep backward compatibility of MapGuide .NET API too. I tied it. I works and resolves all of issues above. 

You can get more details from the following link.
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc68

Modified: trunk/MgDev/Oem/SWIGEx/Lib/csharp/csharphead.swg
===================================================================
--- trunk/MgDev/Oem/SWIGEx/Lib/csharp/csharphead.swg	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Oem/SWIGEx/Lib/csharp/csharphead.swg	2009-09-11 00:36:51 UTC (rev 4218)
@@ -59,17 +59,31 @@
             Type type = Type.GetType(className);
             if(type == null)
             {
+              // Find the specified class in the pre-defined assemblies
+              System.Reflection.Assembly[] assemblies = System.AppDomain.CurrentDomain.GetAssemblies();
+              foreach (System.Reflection.Assembly assem in assemblies)
+              {
+                  System.Reflection.AssemblyName assemblyName = new System.Reflection.AssemblyName(assem.FullName);
+                  String dllName = assemblyNameMap[assemblyName.Name] as String;
+                  if (!String.IsNullOrEmpty(dllName))
+                  {
+                        type = assem.GetType(className, false);
+                        if (type != null)
+                          break;
+                    }
+                }            
+            
                 foreach (System.Reflection.Assembly assem in System.AppDomain.CurrentDomain.GetAssemblies())
-			    {
-			        type = assem.GetType(className, false);
-			        if (type != null)
-			            break;
-			    }
-			}
-			if (type == null)
-			    exception = new Exception();
-			else
-			    exception = Activator.CreateInstance(type, parameters);
+                {
+                    type = assem.GetType(className, false);
+                    if (type != null)
+                        break;
+                }
+            }
+            if (type == null)
+                exception = new Exception();
+            else
+                exception = Activator.CreateInstance(type, parameters);
         }
         catch(Exception e)
         {
@@ -83,7 +97,15 @@
 
     static SWIGExceptionHelper() {
       SWIGRegisterCustomExceptionCallbacks_$module(customExceptionDelegate);
+      assemblyNameMap = new Hashtable();
+      assemblyNameMap["OSGeo.MapGuide.Foundation"] = "OSGeo.MapGuide.Foundation";
+      assemblyNameMap["OSGeo.MapGuide.Geometry"] = "OSGeo.MapGuide.Geometry";
+      assemblyNameMap["OSGeo.MapGuide.PlatformBase"] = "OSGeo.MapGuide.PlatformBase";
+      assemblyNameMap["OSGeo.MapGuide.MapGuideCommon"] = "OSGeo.MapGuide.MapGuideCommon";
+      assemblyNameMap["OSGeo.MapGuide.Web"] = "OSGeo.MapGuide.Web";
+      assemblyNameMap["Autodesk.Map.PlatformEx"] = "Autodesk.Map.PlatformEx";
     }
+    protected static Hashtable assemblyNameMap;
   }
 
   static SWIGExceptionHelper exceptionHelper = new SWIGExceptionHelper();
@@ -133,26 +155,58 @@
   static $modulePINVOKE()
   {
       classMap = new Hashtable();
+      classNameMap = new Hashtable();
+      assemblyNameMap = new Hashtable();
+      assemblyNameMap["OSGeo.MapGuide.Foundation"] = "OSGeo.MapGuide.Foundation";
+      assemblyNameMap["OSGeo.MapGuide.Geometry"] = "OSGeo.MapGuide.Geometry";
+      assemblyNameMap["OSGeo.MapGuide.PlatformBase"] = "OSGeo.MapGuide.PlatformBase";
+      assemblyNameMap["OSGeo.MapGuide.MapGuideCommon"] = "OSGeo.MapGuide.MapGuideCommon";
+      assemblyNameMap["OSGeo.MapGuide.Web"] = "OSGeo.MapGuide.Web";
+      assemblyNameMap["Autodesk.Map.PlatformEx"] = "Autodesk.Map.PlatformEx";
 $initMap
   }
   static public object createObject(int id, IntPtr nameSpaceNamePtr, IntPtr classNamePtr, IntPtr cPtr, bool ownMemory)
   {
-      // Marshall strings in nameSpaceNamePtr and classNamePtr from unmanaged char * to managed strings  
-      String nameSpaceName = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(nameSpaceNamePtr);  
-      String className     = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(classNamePtr);  
-
       Type type = classMap[id] as Type;
       if(type == null)
       {
-          foreach (System.Reflection.Assembly assem in System.AppDomain.CurrentDomain.GetAssemblies())
+          String className = classNameMap[id] as String;
+          if (String.IsNullOrEmpty(className))
           {
-              type = assem.GetType(nameSpaceName + "." + className, false);
-              if (type != null)
+              // Marshall strings in nameSpaceNamePtr and classNamePtr from unmanaged char * to managed strings
+              String nameSpaceName = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(nameSpaceNamePtr);
+              className = nameSpaceName + "."  + System.Runtime.InteropServices.Marshal.PtrToStringAnsi(classNamePtr);
+          }
+          
+          // Find the specified class in the pre-defined assemblies
+          System.Reflection.Assembly[] assemblies = System.AppDomain.CurrentDomain.GetAssemblies();
+          foreach (System.Reflection.Assembly assem in assemblies)
+          {
+              System.Reflection.AssemblyName assemblyName = new System.Reflection.AssemblyName(assem.FullName);
+              String dllName = assemblyNameMap[assemblyName.Name] as String;
+              if (!String.IsNullOrEmpty(dllName))
               {
-                  classMap[id] = type;
-                  break;
+                  type = assem.GetType(className, false);
+                  if (type != null)
+                  {
+                      classMap[id] = type;
+                      break;
+                  }
               }
           }
+
+          if (type == null)
+          {
+              foreach (System.Reflection.Assembly assem in assemblies)
+              {
+                  type = assem.GetType(className, false);
+                  if (type != null)
+                  {
+                      classMap[id] = type;
+                      break;
+                  }
+              }
+          }
       }
       
       if (type == null)
@@ -162,6 +216,8 @@
       return Activator.CreateInstance(type, args);
   }
   protected static Hashtable classMap;
+  protected static Hashtable classNameMap;
+  protected static Hashtable assemblyNameMap;
 %}
     
 %insert(runtime) %{

Modified: trunk/MgDev/Oem/SWIGEx/Source/Modules/csharp.cxx
===================================================================
--- trunk/MgDev/Oem/SWIGEx/Source/Modules/csharp.cxx	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Oem/SWIGEx/Source/Modules/csharp.cxx	2009-09-11 00:36:51 UTC (rev 4218)
@@ -462,9 +462,15 @@
       for(map<string, int>::const_iterator it = clsIds.begin(); it != clsIds.end(); it++)
 	  {
         if(namespaceName != NULL)
+        {
             Printf(mapInitCode, "      classMap[%d] = Type.GetType(\"%s.%s\");\n", it->second, namespaceName, it->first.c_str());
+            Printf(mapInitCode, "      classNameMap[%d] = \"%s.%s\";\n", it->second, namespaceName, it->first.c_str());
+        }
         else
+        {
             Printf(mapInitCode, "      classMap[%d] = Type.GetType(\"%s\");\n", it->second, it->first.c_str());
+            Printf(mapInitCode, "      classNameMap[%d] = \"%s\";\n", it->second, it->first.c_str());
+        }
 	  }
       char* pmapInitCode = Char(mapInitCode);
       char* pimclass_class_code = Char(imclass_class_code);

Modified: trunk/MgDev/Oem/SWIGEx/Win32/Swig.exe
===================================================================
(Binary files differ)

Added: trunk/MgDev/Web/src/DotNetApi/AssemblyInfo.cs
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/AssemblyInfo.cs	                        (rev 0)
+++ trunk/MgDev/Web/src/DotNetApi/AssemblyInfo.cs	2009-09-11 00:36:51 UTC (rev 4218)
@@ -0,0 +1,460 @@
+//
+//  Copyright (C) 2004-2009 by Autodesk, Inc.
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of version 2.1 of the GNU Lesser
+//  General Public License as published by the Free Software Foundation.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+//
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly: AssemblyTitle("MapGuide Dot Net Api Dynamic Link Library")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Open Source Geospatial Foundation")]
+[assembly: AssemblyProduct("MapGuide Open Source")]
+[assembly: AssemblyCopyright("Copyright (C) 2006-2009 by Autodesk, Inc.")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: CLSCompliant(true)]
+
+//
+// We use the TypeForwardedToAttribute to keep backward compatibility of .NET API.
+// It will forward call to the following types to new .NET API Assembly.
+//
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeaturePropertyType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMimeType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPropertyType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerGroupType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServiceType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUser))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGroup))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRole))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureCommandType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureGeometricType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureSpatialOperations))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgObjectPropertyType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgOrderingOption))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRasterDataModelType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgReaderType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRepositoryType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceTag))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceDataName))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceDataType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourcePermission))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSpatialContextExtentType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateDimension))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryEntityType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometricPathInstructionType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryComponentType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemCodeFormat))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemErrorCode))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemGeodeticTransformationMethod))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemProjectionCode))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemProjectionFormatType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemProjectionLogicalType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemProjectionParameterType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemUnitCode))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemUnitType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemWktFlavor))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPageUnitsType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSpace))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMapPlotInstruction))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLogFileType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServerInformationProperties))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUnitType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgConfigProperties))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebActions))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebTargetType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebTargetViewerType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebTaskButtonType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebWidgetType))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLocalizer))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.ManagedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MapGuideApi))]
+//[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MapGuideApiPINVOKE))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgObject))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDisposable))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGuardDisposable))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgAgfReaderWriter))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSerializable))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometricEntity))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometry))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgAggregateGeometry))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgApplicationException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryComponent))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurveSegment))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgArcSegment))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSystemException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgOutOfRangeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgArgumentOutOfRangeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgArrayTypeMismatchException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgAuthenticationFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgBatchPropertyCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNamedSerializable))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNullableProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgBlobProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgBooleanProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgByteProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgByteReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgByteSink))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgByteSource))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgClassDefinition))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgClassDefinitionCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgClassNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgClobProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgColor))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgConfigurationException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgConfigurationLoadFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgConfigurationSaveFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgConnectionFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgConnectionNotOpenException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinate))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateIterator))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystem))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemCatalog))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemCategory))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemDictionaryBase))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemCategoryDictionary))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemComputationFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemConversionFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemDatum))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemDatumDictionary))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemDictionary))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemDictionaryUtility))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemEllipsoid))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemEllipsoidDictionary))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemEnum))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemEnumInteger32))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemFactory))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemFilter))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemFilterInteger32))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemFormatConverter))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemGeodeticTransformation))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemMathComparator))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMeasure))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemMeasure))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemMeasureFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemProjectionInformation))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgTransform))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemTransform))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemTransformFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateSystemUnitInformation))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateXY))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateXYM))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateXYZ))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCoordinateXYZM))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureSourceParams))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCreateSdfParams))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurve))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRegion))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurvePolygon))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurvePolygonCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRing))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurveRing))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurveRingCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurveSegmentCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurveString))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgCurveStringCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPropertyDefinition))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDataPropertyDefinition))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDataReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDateTime))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDateTimeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDateTimeProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgThirdPartyException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDbException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDbXmlException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDecryptionException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDeleteFeatures))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgIoException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFileIoException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDirectoryNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDisposableCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDivideByZeroException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDomainException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDoubleProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDrawingService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateDirectoryException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateFileException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateGroupException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateNameException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateObjectException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateParameterException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateRepositoryException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateResourceDataException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateResourceException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateRoleException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateServerException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateSessionException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDuplicateUserException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDwfException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDwfSectionNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDwfSectionResourceNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgDwfVersion))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgEmptyFeatureSetException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgEncryptionException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgStreamIoException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgEndOfStreamException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgEnvelope))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFdoException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureQueryOptions))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureAggregateOptions))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureCommandCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureInformation))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureSchema))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureSchemaCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFeatureServiceException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgFileNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometricPropertyDefinition))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryFactory))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGeometryTypeInfo))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGroupNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgGwsFeatureReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpHeader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpPrimitiveValue))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpRequest))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpRequestMetadata))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpRequestParam))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpResponse))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgHttpResult))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgIndexOutOfRangeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInsertFeatures))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInt16Property))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInt32Property))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInt64Property))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgIntCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidArgumentException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidCastException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidCoordinateSystemException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidCoordinateSystemTypeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidCoordinateSystemUnitsException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidDwfPackageException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidDwfSectionException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidFeatureSourceException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidIpAddressException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidLicenseException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidLogEntryException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidMapDefinitionException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidOperationException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidPasswordException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidPrintLayoutFontSizeUnitsException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidPrintLayoutPositionUnitsException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidPrintLayoutSizeUnitsException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidPropertyTypeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidRepositoryNameException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidRepositoryTypeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidResourceDataNameException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidResourceDataTypeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidResourceNameException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidResourcePathException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidResourcePreProcessingTypeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidResourceTypeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidServerNameException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgInvalidStreamHeaderException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgKmlService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerBase))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayer))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerGroup))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerGroupCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayerNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLayout))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLengthException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLicenseException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLicenseExpiredException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLinearRing))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLinearRingCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLinearSegment))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLineString))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLineStringCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLogicException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgLongTransactionReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResource))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMapBase))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMap))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMapCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMappingService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMapPlot))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMapPlotCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMultiCurvePolygon))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMultiCurveString))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMultiGeometry))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMultiLineString))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMultiPoint))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgMultiPolygon))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNotFiniteNumberException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNotImplementedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNullArgumentException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNullPropertyValueException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgNullReferenceException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgObjectNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgObjectPropertyDefinition))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgOperationProcessingException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgOutOfMemoryException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgOverflowException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPackageStatusInformation))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgParameterNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPathTooLongException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPlatformNotSupportedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPlotSpecification))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPoint))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPointCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPolygon))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPolygonCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPortNotAvailableException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPrintToScaleModeNotSelectedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPropertyCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgPropertyDefinitionCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRaster))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRasterProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRasterPropertyDefinition))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgReadOnlyLayerCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRenderingOptions))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRenderingService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRepositoryCreationFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRepositoryNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRepositoryNotOpenException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRepositoryOpenFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceBusyException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceDataNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceIdentifier))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourceService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourcesException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgResourcesLoadFailedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRoleNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgRuntimeException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSelectionBase))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSelection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServerAdmin))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServerNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServerNotOnlineException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServiceNotAvailableException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgServiceNotSupportedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSessionExpiredException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSessionNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSingleProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSite))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSiteConnection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSiteInfo))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSpatialContextReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgSqlDataReader))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgStringCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgStringProperty))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgStringPropertyCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgTemporaryFileNotAvailableException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgTileService))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUnauthorizedAccessException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUnclassifiedException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUnderflowException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUpdateFeatures))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUriFormatException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUserInformation))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgUserNotFoundException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWarnings))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebUiTargetCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebBufferCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebCommandCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebWidget))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebCommandWidget))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebWidgetCollection))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebContextMenu))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebFlyoutWidget))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebGetPrintablePageCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebHelpCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebUiPane))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebUiSizablePane))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebInformationPane))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebInvokeScriptCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebInvokeUrlCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebLayout))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebMeasureCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebPrintCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebSearchCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebSelectWithinCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebSeparatorWidget))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebTaskBar))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebTaskBarWidget))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebTaskPane))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebToolBar))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWebViewOptionsCommand))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgWktReaderWriter))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgXmlException))]
+[assembly: TypeForwardedTo(typeof(OSGeo.MapGuide.MgXmlParserException))]
+
+//
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+
+[assembly: AssemblyVersion("1.0.0.1")]
+[assembly: AssemblyFileVersion("1.0.0.1")]
+[assembly: AssemblyInformationalVersion("1.0.0.1")]
+
+//
+// In order to sign your assembly you must specify a key to use. Refer to the
+// Microsoft .NET Framework documentation for more information on assembly signing.
+//
+// Use the attributes below to control which key is used for signing.
+//
+// Notes:
+//   (*) If no key is specified, the assembly is not signed.
+//   (*) KeyName refers to a key that has been installed in the Crypto Service
+//       Provider (CSP) on your machine. KeyFile refers to a file which contains
+//       a key.
+//   (*) If the KeyFile and the KeyName values are both specified, the
+//       following processing occurs:
+//       (1) If the KeyName can be found in the CSP, that key is used.
+//       (2) If the KeyName does not exist and the KeyFile does exist, the key
+//           in the KeyFile is installed into the CSP and used.
+//   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
+//       When specifying the KeyFile, the location of the KeyFile should be
+//       relative to the project output directory which is
+//       %Project Directory%\obj\<configuration>. For example, if your KeyFile is
+//       located in the project directory, you would specify the AssemblyKeyFile
+//       attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
+//   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
+//       documentation for more information on this.
+//
+[assembly: AssemblyDelaySign(false)]

Modified: trunk/MgDev/Web/src/DotNetApi/Foundation/FoundationMakefile
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/Foundation/FoundationMakefile	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Web/src/DotNetApi/Foundation/FoundationMakefile	2009-09-11 00:36:51 UTC (rev 4218)
@@ -3,8 +3,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule del $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.dll del $(OUTDIR)\OSGeo.MapGuide.Foundation.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.pdb del $(OUTDIR)\OSGeo.MapGuide.Foundation.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.Temp.dll del $(OUTDIR)\OSGeo.MapGuide.Foundation.Temp.dll
@@ -14,8 +12,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule del $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.dll del $(OUTDIR)\OSGeo.MapGuide.Foundation.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.Foundation.pdb del $(OUTDIR)\OSGeo.MapGuide.Foundation.pdb
 
@@ -24,10 +20,8 @@
 release: $(OUTDIR)\OSGeo.MapGuide.Foundation.dll
 
 $(OUTDIR)\OSGeo.MapGuide.Foundation.Temp.dll:
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule.pdb /target:module .\*.cs
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.Foundation.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule
+  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /target:library .\*.cs
   copy /y $(OUTDIR)\OSGeo.MapGuide.Foundation.dll $(OUTDIR)\OSGeo.MapGuide.Foundation.Temp.dll
 
 $(OUTDIR)\OSGeo.MapGuide.Foundation.dll:
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule.pdb /target:module .\*.cs
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.Foundation.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule
+  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /target:library .\*.cs

Modified: trunk/MgDev/Web/src/DotNetApi/Geometry/GeometryMakefile
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/Geometry/GeometryMakefile	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Web/src/DotNetApi/Geometry/GeometryMakefile	2009-09-11 00:36:51 UTC (rev 4218)
@@ -3,8 +3,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule del $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.dll del $(OUTDIR)\OSGeo.MapGuide.Geometry.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.pdb del $(OUTDIR)\OSGeo.MapGuide.Geometry.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.Temp.dll del $(OUTDIR)\OSGeo.MapGuide.Geometry.Temp.dll
@@ -14,8 +12,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule del $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.dll del $(OUTDIR)\OSGeo.MapGuide.Geometry.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.Geometry.pdb del $(OUTDIR)\OSGeo.MapGuide.Geometry.pdb
 
@@ -24,10 +20,8 @@
 release: $(OUTDIR)\OSGeo.MapGuide.Geometry.dll
 
 $(OUTDIR)\OSGeo.MapGuide.Geometry.Temp.dll:
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule .\*.cs
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.Geometry.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule
+  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.dll /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /target:library .\*.cs
   copy /y $(OUTDIR)\OSGeo.MapGuide.Geometry.dll $(OUTDIR)\OSGeo.MapGuide.Geometry.Temp.dll
 
 $(OUTDIR)\OSGeo.MapGuide.Geometry.dll:
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule .\*.cs
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.Geometry.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule
+  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.dll /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /target:library .\*.cs

Modified: trunk/MgDev/Web/src/DotNetApi/Makefile
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/Makefile	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Web/src/DotNetApi/Makefile	2009-09-11 00:36:51 UTC (rev 4218)
@@ -19,7 +19,7 @@
 release: $(OUTDIR)\MapGuideDotNetApi.dll
 
 $(OUTDIR)\MapGuideDotNetApid.dll:
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\MapGuideDotNetApid.dll /pdb:$(OUTDIR)\MapGuideDotNetApid.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule;$(OUTDIR)\OSGeo.MapGuide.Web.netmodule
+  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\MapGuideDotNetApid.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll;$(OUTDIR)\OSGeo.MapGuide.Web.dll .\AssemblyInfo.cs
 
 $(OUTDIR)\MapGuideDotNetApi.dll:
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\MapGuideDotNetApi.dll /pdb:$(OUTDIR)\MapGuideDotNetApi.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule;$(OUTDIR)\OSGeo.MapGuide.Web.netmodule
+  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\MapGuideDotNetApi.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll;$(OUTDIR)\OSGeo.MapGuide.Web.dll .\AssemblyInfo.cs

Modified: trunk/MgDev/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile	2009-09-11 00:36:51 UTC (rev 4218)
@@ -3,8 +3,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.pdb del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.Temp.dll del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.Temp.dll
@@ -14,8 +12,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.pdb del $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.pdb
 
@@ -24,10 +20,8 @@
 release: $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll
 
 $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.Temp.dll:
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule .\*.cs
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule
+  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll .\*.cs
   copy /y $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.Temp.dll
 
 $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll:
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule .\*.cs
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule
+  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll .\*.cs

Modified: trunk/MgDev/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile	2009-09-11 00:36:51 UTC (rev 4218)
@@ -3,8 +3,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.pdb del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.Temp.dll del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.Temp.dll
@@ -14,8 +12,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.PlatformBase.pdb del $(OUTDIR)\OSGeo.MapGuide.PlatformBase.pdb
 
@@ -24,10 +20,8 @@
 release: $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll
 
 $(OUTDIR)\OSGeo.MapGuide.PlatformBase.Temp.dll:
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule .\*.cs
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule
+  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll .\*.cs
   copy /y $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll $(OUTDIR)\OSGeo.MapGuide.PlatformBase.Temp.dll
 
 $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll:
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule .\*.cs
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule
+  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll .\*.cs

Modified: trunk/MgDev/Web/src/DotNetApi/Web/WebMakefile
===================================================================
--- trunk/MgDev/Web/src/DotNetApi/Web/WebMakefile	2009-09-10 19:04:39 UTC (rev 4217)
+++ trunk/MgDev/Web/src/DotNetApi/Web/WebMakefile	2009-09-11 00:36:51 UTC (rev 4218)
@@ -3,8 +3,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.Web.netmodule del $(OUTDIR)\OSGeo.MapGuide.Web.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.Web.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.Web.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Web.dll del $(OUTDIR)\OSGeo.MapGuide.Web.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.Web.pdb del $(OUTDIR)\OSGeo.MapGuide.Web.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Web.Temp.dll del $(OUTDIR)\OSGeo.MapGuide.Web.Temp.dll
@@ -14,8 +12,6 @@
   del /Q .\*Constants.cs
   del /Q .\*PINVOKE.cs
   del /Q .\*Api.cs
-  if exist $(OUTDIR)\OSGeo.MapGuide.Web.netmodule del $(OUTDIR)\OSGeo.MapGuide.Web.netmodule
-  if exist $(OUTDIR)\OSGeo.MapGuide.Web.netmodule.pdb del $(OUTDIR)\OSGeo.MapGuide.Web.netmodule.pdb
   if exist $(OUTDIR)\OSGeo.MapGuide.Web.dll del $(OUTDIR)\OSGeo.MapGuide.Web.dll
   if exist $(OUTDIR)\OSGeo.MapGuide.Web.pdb del $(OUTDIR)\OSGeo.MapGuide.Web.pdb
 
@@ -24,10 +20,8 @@
 release: $(OUTDIR)\OSGeo.MapGuide.Web.dll
 
 $(OUTDIR)\OSGeo.MapGuide.Web.Temp.dll:
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Web.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.Web.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule .\*.cs
-  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Web.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.Web.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule;$(OUTDIR)\OSGeo.MapGuide.Web.netmodule
+  csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Web.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll .\*.cs
   copy /y $(OUTDIR)\OSGeo.MapGuide.Web.dll $(OUTDIR)\OSGeo.MapGuide.Web.Temp.dll
 
 $(OUTDIR)\OSGeo.MapGuide.Web.dll:
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Web.netmodule /pdb:$(OUTDIR)\OSGeo.MapGuide.Web.netmodule.pdb /target:module /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule .\*.cs
-  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Web.dll /pdb:$(OUTDIR)\OSGeo.MapGuide.Web.pdb /target:library /addmodule:$(OUTDIR)\OSGeo.MapGuide.Foundation.netmodule;$(OUTDIR)\OSGeo.MapGuide.Geometry.netmodule;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.netmodule;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.netmodule;$(OUTDIR)\OSGeo.MapGuide.Web.netmodule
+  csc.exe /debug+ /debug:pdbonly /optimize+ /out:$(OUTDIR)\OSGeo.MapGuide.Web.dll /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll;$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll .\*.cs



More information about the mapguide-commits mailing list