[mapguide-commits] r8808 - sandbox/jng/aspnet50/Oem/SWIGEx/Lib/csharp

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Nov 4 06:59:59 PST 2015


Author: jng
Date: 2015-11-04 06:59:59 -0800 (Wed, 04 Nov 2015)
New Revision: 8808

Modified:
   sandbox/jng/aspnet50/Oem/SWIGEx/Lib/csharp/csharphead.swg
Log:
Update preprocessor symbol for .net Core (ASPNETCORE50 -> DNXCORE50)

Modified: sandbox/jng/aspnet50/Oem/SWIGEx/Lib/csharp/csharphead.swg
===================================================================
--- sandbox/jng/aspnet50/Oem/SWIGEx/Lib/csharp/csharphead.swg	2015-11-04 12:42:22 UTC (rev 8807)
+++ sandbox/jng/aspnet50/Oem/SWIGEx/Lib/csharp/csharphead.swg	2015-11-04 14:59:59 UTC (rev 8808)
@@ -60,7 +60,7 @@
             //NOTE: For .net Core, this will be one monolithic assembly (due to lack of AppDomain class) so no 
             //need to probe type information from other loaded assemblies, it should all be there and populated
             //by the SWIG-generated code
-            #if !ASPNETCORE50
+            #if !DNXCORE50
             if(type == null)
             {
                 // Find the specified class in the pre-defined assemblies
@@ -102,7 +102,7 @@
     static SWIGExceptionHelper() {
       SWIGRegisterCustomExceptionCallbacks_$module(customExceptionDelegate);
       assemblyNameMap = new System.Collections.Generic.Dictionary<string, string>();
-      #if ASPNETCORE50
+      #if DNXCORE50
       assemblyNameMap["OSGeo.MapGuide"] = "OSGeo.MapGuide";
       #else
       assemblyNameMap["OSGeo.MapGuide.Foundation"] = "OSGeo.MapGuide.Foundation";
@@ -165,7 +165,7 @@
       classMap = new System.Collections.Generic.Dictionary<int, Type>();
       classNameMap = new System.Collections.Generic.Dictionary<int, string>();
       assemblyNameMap = new System.Collections.Generic.Dictionary<string, string>();
-      #if ASPNETCORE50
+      #if DNXCORE50
       assemblyNameMap["OSGeo.MapGuide"] = "OSGeo.MapGuide";
       #else
       assemblyNameMap["OSGeo.MapGuide.Foundation"] = "OSGeo.MapGuide.Foundation";
@@ -185,7 +185,7 @@
       //NOTE: For .net Core, this will be one monolithic assembly (due to lack of AppDomain class) so no 
       //need to probe type information from other loaded assemblies, it should all be there and populated
       //by the SWIG-generated code
-      #if !ASPNETCORE50
+      #if !DNXCORE50
       if (type == null)
       {
           String className = null;



More information about the mapguide-commits mailing list