[mapguide-commits] r9764 - in sandbox/jng/vanilla_swig/Bindings/src: Bindings Bindings/DotNet Bindings/DotNet/PlatformBase Managed/DotNet Managed/DotNet/OSGeo.MapGuide.Foundation/custom Managed/DotNet/OSGeo.MapGuide.PlatformBase Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64 Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Nov 10 03:08:18 PST 2020


Author: jng
Date: 2020-11-10 03:08:18 -0800 (Tue, 10 Nov 2020)
New Revision: 9764

Added:
   sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/
   sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.rc
   sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.vcxproj
   sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApiGen.xml
   sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseConstants.xml
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/OSGeo.MapGuide.PlatformBase.csproj
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native/
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native/README.txt
Modified:
   sandbox/jng/vanilla_swig/Bindings/src/Bindings/Bindings.sln
   sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.Foundation/custom/AssemblyInfo.cs
Log:
Next step in attempting to split up the .net binding. Add MgPlatformBase glue and .net wrapper.

Modified: sandbox/jng/vanilla_swig/Bindings/src/Bindings/Bindings.sln
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Bindings/Bindings.sln	2020-11-10 10:56:21 UTC (rev 9763)
+++ sandbox/jng/vanilla_swig/Bindings/src/Bindings/Bindings.sln	2020-11-10 11:08:18 UTC (rev 9764)
@@ -58,6 +58,14 @@
 		{B994F673-EB8E-4C65-8884-B56AB8783115} = {B994F673-EB8E-4C65-8884-B56AB8783115}
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PlatformBaseApi", "DotNet\PlatformBase\PlatformBaseApi.vcxproj", "{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}"
+	ProjectSection(ProjectDependencies) = postProject
+		{B994F673-EB8E-4C65-8884-B56AB8783115} = {B994F673-EB8E-4C65-8884-B56AB8783115}
+		{73C62FF2-C188-4A61-929E-2F112D7E17AA} = {73C62FF2-C188-4A61-929E-2F112D7E17AA}
+	EndProjectSection
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OSGeo.MapGuide.PlatformBase", "..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\OSGeo.MapGuide.PlatformBase.csproj", "{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -128,6 +136,20 @@
 		{15A784CC-1DA1-4AF2-81EA-D9EABCD4B760}.Release|Any CPU.Build.0 = Release|Any CPU
 		{15A784CC-1DA1-4AF2-81EA-D9EABCD4B760}.Release|x64.ActiveCfg = Release|Any CPU
 		{15A784CC-1DA1-4AF2-81EA-D9EABCD4B760}.Release|x64.Build.0 = Release|Any CPU
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}.Debug|Any CPU.ActiveCfg = Debug|x64
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}.Debug|x64.ActiveCfg = Debug|x64
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}.Debug|x64.Build.0 = Debug|x64
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}.Release|Any CPU.ActiveCfg = Release|x64
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}.Release|x64.ActiveCfg = Release|x64
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}.Release|x64.Build.0 = Release|x64
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Debug|x64.ActiveCfg = Debug|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Debug|x64.Build.0 = Debug|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Release|Any CPU.Build.0 = Release|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Release|x64.ActiveCfg = Release|Any CPU
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102}.Release|x64.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
@@ -143,6 +165,8 @@
 		{120AC2A9-5EBE-4512-9FF7-54EA04192196} = {A9257857-9844-4CEA-AF02-A7D8AB8F46AB}
 		{B994F673-EB8E-4C65-8884-B56AB8783115} = {A9257857-9844-4CEA-AF02-A7D8AB8F46AB}
 		{15A784CC-1DA1-4AF2-81EA-D9EABCD4B760} = {A9257857-9844-4CEA-AF02-A7D8AB8F46AB}
+		{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B} = {A9257857-9844-4CEA-AF02-A7D8AB8F46AB}
+		{80D0D30B-A9E1-464B-93ED-0EFEAD4EE102} = {A9257857-9844-4CEA-AF02-A7D8AB8F46AB}
 	EndGlobalSection
 	GlobalSection(ExtensibilityGlobals) = postSolution
 		SolutionGuid = {733BCCC2-0431-4AB7-ABB6-AAE81AB54C48}

Index: sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase	2020-11-10 10:56:21 UTC (rev 9763)
+++ sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase	2020-11-10 11:08:18 UTC (rev 9764)

Property changes on: sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,6 ##
+language.i
+PlatformBaseApi.i
+PlatformBaseApi.vcxproj.user
+PlatformBaseApi_Doc.i
+PlatformBaseApi_Properties.i
+PlatformBaseUnmanagedApi_wrap.cpp
Added: sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.rc
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.rc	                        (rev 0)
+++ sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.rc	2020-11-10 11:08:18 UTC (rev 9764)
@@ -0,0 +1,96 @@
+// Microsoft Visual C++ generated resource script.
+//
+
+#define APSTUDIO_READONLY_SYMBOLS
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 2 resource.
+//
+#include "winresrc.h"
+
+/////////////////////////////////////////////////////////////////////////////
+#undef APSTUDIO_READONLY_SYMBOLS
+
+/////////////////////////////////////////////////////////////////////////////
+// English (U.S.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#endif //_WIN32
+
+#ifdef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// TEXTINCLUDE
+//
+
+1 TEXTINCLUDE
+BEGIN
+    "#include ""winresrc.h""\r\n"
+    "\0"
+END
+
+2 TEXTINCLUDE
+BEGIN
+    "\r\n"
+    "\0"
+END
+
+#endif    // APSTUDIO_INVOKED
+
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 3,0,0,0
+ PRODUCTVERSION 3,0,0,0
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x2L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040904b0"
+        BEGIN
+            VALUE "CompanyName", "Open Source Geospatial Foundation"
+            VALUE "FileDescription", "GeometryUnmanagedApi Dynamic Link Library"
+            VALUE "FileVersion", "4, 0, 0, 0"
+            VALUE "InternalName", "GeometryUnmanagedApi"
+            VALUE "LegalCopyright", "Copyright (C) 2006-2020 by Autodesk, Inc."
+            VALUE "OriginalFilename", "GeometryUnmanagedApi.dll"
+            VALUE "ProductName", "MapGuide Open Source"
+            VALUE "ProductVersion", "4, 0, 0, 0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x409, 1200
+    END
+END
+
+#endif    // English (U.S.) resources
+/////////////////////////////////////////////////////////////////////////////
+
+
+
+#ifndef APSTUDIO_INVOKED
+/////////////////////////////////////////////////////////////////////////////
+//
+// Generated from the TEXTINCLUDE 3 resource.
+//
+
+
+/////////////////////////////////////////////////////////////////////////////
+#endif    // not APSTUDIO_INVOKED
+

Added: sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.vcxproj
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.vcxproj	                        (rev 0)
+++ sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApi.vcxproj	2020-11-10 11:08:18 UTC (rev 9764)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{3BAE3F0E-8F3F-404B-B29B-5881C16BD33B}</ProjectGuid>
+    <RootNamespace>PlatformBaseUnmanagedApi</RootNamespace>
+    <Keyword>Win32Proj</Keyword>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>Unicode</CharacterSet>
+    <PlatformToolset>v140</PlatformToolset>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>Unicode</CharacterSet>
+    <PlatformToolset>v140</PlatformToolset>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">bin\$(Configuration)64\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">obj\$(Configuration)64\PlatformBaseUnmanagedApi\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\runtimes\win-x64\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">obj\$(Configuration)64\PlatformBaseUnmanagedApi\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
+    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
+    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
+    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
+    <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">PlatformBaseUnmanagedApid</TargetName>
+    <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">PlatformBaseUnmanagedApi</TargetName>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <PreBuildEvent>
+      <Command>if exist "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\*.cs" del /Q "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\*.cs"
+if exist "$(ProjectDir)PlatformBaseApi_Properties.i" del /Q "$(ProjectDir)PlatformBaseApi_Properties.i"
+"..\..\..\IMake\Win32\IMake.exe" -p "$(ProjectDir)PlatformBaseConstants.xml" -l C# -o "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\Constants.cs" -t
+copy "$(ProjectDir)..\dotnetcore_split.i" "$(ProjectDir)language.i"
+"..\..\..\IMake\Win32\IMake.exe" -p "$(ProjectDir)PlatformBaseApiGen.xml" -l C# -x "PlatformBaseApi"
+"..\..\..\Tools\swig\install\swig.exe" -c++ -csharp -DDOTNETCORE -DWIN32 -DSWIG_CSHARP_NO_EXCEPTION_HELPER -DSWIG_CSHARP_NO_STRING_HELPER -DSWIG_CSHARP_NO_WSTRING_HELPER -namespace OSGeo.MapGuide -nodefaultctor -nodefaultdtor -module PlatformBaseUnmanagedApi -o "$(ProjectDir)PlatformBaseUnmanagedApi_wrap.cpp" -outdir "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase" PlatformBaseApi.i
+del /Q ..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\PlatformBaseUnmanagedApi.cs
+</Command>
+    </PreBuildEvent>
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <AdditionalIncludeDirectories>..\..\..\..\..\..\Web\src\HttpHandler;..\..\..\..\..\..\Web\src\WebApp;..\..\..\..\..\..\Web\src\WebSupport;..\..\..\..\..\Common\MdfModel;..\..\..\..\..\Common\Foundation;..\..\..\..\..\Common\Geometry;..\..\..\..\..\Common\PlatformBase;..\..\..\..\..\Common\MapGuideCommon;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SWIG_PUBLIC_API;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ExceptionHandling>Async</ExceptionHandling>
+      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
+    </ClCompile>
+    <Link>
+      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\runtimes\win-x64\native\PlatformBaseUnmanagedApid.dll</OutputFile>
+      <AdditionalLibraryDirectories>$(MG_SDK_LIB64);$(MG_OEM_ACE_LIB_ROOT)\lib64\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <ProgramDatabaseFile>$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\runtimes\win-x64\native\PlatformBaseUnmanagedApid.pdb</ProgramDatabaseFile>
+      <SubSystem>Windows</SubSystem>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+      <DataExecutionPrevention>
+      </DataExecutionPrevention>
+      <ImportLibrary>lib\$(Configuration)64\PlatformBaseUnmanagedApid.lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <PreBuildEvent>
+      <Command>if exist "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\*.cs" del /Q "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\*.cs"
+if exist "$(ProjectDir)PlatformBaseApi_Properties.i" del /Q "$(ProjectDir)PlatformBaseApi_Properties.i"
+"..\..\..\IMake\Win32\IMake.exe" -p "$(ProjectDir)PlatformBaseConstants.xml" -l C# -o "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\Constants.cs" -t
+copy "$(ProjectDir)..\dotnetcore_split.i" "$(ProjectDir)language.i"
+"..\..\..\IMake\Win32\IMake.exe" -p "$(ProjectDir)PlatformBaseApiGen.xml" -l C# -x "PlatformBaseApi"
+"..\..\..\Tools\swig\install\swig.exe" -c++ -csharp -DDOTNETCORE -DWIN32 -DSWIG_CSHARP_NO_EXCEPTION_HELPER -DSWIG_CSHARP_NO_STRING_HELPER -DSWIG_CSHARP_NO_WSTRING_HELPER -namespace OSGeo.MapGuide -nodefaultctor -nodefaultdtor -module PlatformBaseUnmanagedApi -o "$(ProjectDir)PlatformBaseUnmanagedApi_wrap.cpp" -outdir "$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase" PlatformBaseApi.i
+del /Q ..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\PlatformBaseUnmanagedApi.cs
+</Command>
+    </PreBuildEvent>
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <AdditionalIncludeDirectories>..\..\..\..\..\..\Web\src\HttpHandler;..\..\..\..\..\..\Web\src\WebApp;..\..\..\..\..\..\Web\src\WebSupport;..\..\..\..\..\Common\MdfModel;..\..\..\..\..\Common\Foundation;..\..\..\..\..\Common\Geometry;..\..\..\..\..\Common\PlatformBase;..\..\..\..\..\Common\MapGuideCommon;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN64;SWIG_PUBLIC_API;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ExceptionHandling>Async</ExceptionHandling>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
+    </ClCompile>
+    <Link>
+      <AdditionalDependencies>MgFoundation.lib;MgPlatformBase.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\runtimes\win-x64\native\PlatformBaseUnmanagedApi.dll</OutputFile>
+      <AdditionalLibraryDirectories>..\..\..\..\..\Common\lib\Release64;..\..\..\..\..\..\Web\lib\Release64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <ProgramDatabaseFile>$(ProjectDir)..\..\..\Managed\DotNet\OSGeo.MapGuide.PlatformBase\runtimes\win-x64\native\PlatformBaseUnmanagedApi.pdb</ProgramDatabaseFile>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <RandomizedBaseAddress>false</RandomizedBaseAddress>
+      <DataExecutionPrevention>
+      </DataExecutionPrevention>
+      <ImportLibrary>lib\$(Configuration)64\PlatformBaseUnmanagedApi.lib</ImportLibrary>
+      <TargetMachine>MachineX64</TargetMachine>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="PlatformBaseUnmanagedApi_wrap.cpp">
+      <PreprocessToFile Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</PreprocessToFile>
+      <PreprocessSuppressLineNumbers Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</PreprocessSuppressLineNumbers>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ResourceCompile Include="PlatformBaseApi.rc" />
+  </ItemGroup>
+  <ItemGroup>
+    <Xml Include="PlatformBaseApiGen.xml" />
+    <Xml Include="PlatformBaseConstants.xml" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file

Added: sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApiGen.xml
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApiGen.xml	                        (rev 0)
+++ sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseApiGen.xml	2020-11-10 11:08:18 UTC (rev 9764)
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Parameters>
+<!--
+   Module section.
+-->
+<Module name="PlatformBaseApi" />
+
+<!--
+   Custom file path.
+-->
+<CustomFile path="./" />
+
+<!--
+   Target section.
+-->
+<Target path="./PlatformBaseApi.i" />
+<DocTarget path="./PlatformBaseApi_Doc.i" />
+
+<!--
+   C++ inline section.
+-->
+<CppInline>
+#ifdef _WIN32
+#pragma warning(disable: 4251)
+#endif
+
+#include <string>
+#include <map>
+#include <list>
+
+#include "Foundation.h"
+#include "GeometryCommon.h"
+#include "PlatformBase.h"
+
+#if defined(PHP) || defined(JAVA)
+typedef std::wstring STRINGPARAM;
+#else
+typedef wchar_t* STRINGPARAM;
+#endif
+</CppInline>
+
+<!--
+   Type replacements.
+-->
+<TypeReplacements>
+    <TypeReplacement oldtype="CREFSTRING" newtype="STRINGPARAM" />
+    <TypeReplacement oldtype="INT64" newtype="long long" />
+</TypeReplacements>
+
+<!--
+   Swig inline section.
+-->
+<SwigInline>
+  %include "PlatformBaseApi_Doc.i" //doc fragments
+  %include "language.i"   //typemaps specific for each language
+  // IMPORTANT: Must %import dependencies *after* %include-ing language.i, otherwise
+  // SWIG runtime glue code for $LANGUAGE isn't generated
+  %import "../Foundation/FoundationApi.i"
+  %import "../Geometry/GeometryApi.i"
+  %include "../../../../../Common/PlatformBase/Services/PlatformBaseClassId.h"
+
+#if defined(PHPSWIG)
+  // We force UTF-8 encoding for PHP
+  typedef char*         STRINGPARAM;
+  typedef char*         STRING;
+  typedef char*         BYTE_ARRAY_IN;
+  typedef char*         BYTE_ARRAY_OUT;
+  typedef unsigned char BYTE;
+#elseif defined(JAVA)
+  typedef std::wstring  STRINGPARAM;
+  typedef signed char   BYTE;  //mapped to byte in Java
+#else // .Net
+  typedef char*         BYTE_ARRAY_IN;
+  typedef char*         BYTE_ARRAY_OUT;
+  typedef unsigned char BYTE;    //mapped to byte in C#
+#endif
+
+  typedef int           STATUS;
+  typedef short         INT8;
+  typedef short         INT16;
+  typedef int           INT32;
+  typedef int           UINT32;
+
+</SwigInline>
+
+<!--
+   C++ Headers section.  If you add headers to this section then you
+   must also add them to Makefile.am in the JavaApi and PhpApi folders.
+-->
+<Headers>
+
+    <!-- PlatformBase classes -->
+
+    <Header path="../../../../../Common/PlatformBase/Data/BlobProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/BooleanProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/ByteProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/ClobProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/Color.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/DateTimeProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/DoubleProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/Int16Property.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/Int32Property.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/Int64Property.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/IntCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/PropertyDefinitionCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/SingleProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Data/StringPropertyCollection.h" />
+
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureCommand.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureQueryOptions.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureSourceParams.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Reader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Service.h" />
+
+    <Header path="../../../../../Common/PlatformBase/Services/BaseService.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ClassDefinition.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ClassDefinitionCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FileFeatureSourceParams.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/DataPropertyDefinition.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/DataReader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/DeleteFeatures.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureAggregateOptions.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureCommandCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureReader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureSchema.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureSchemaCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureService.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/GeoJsonWriter.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/GeometricPropertyDefinition.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/GeometryProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/GeometryTypeInfo.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/GwsFeatureReader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/InsertFeatures.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/LongTransactionReader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ObjectPropertyDefinition.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Parameter.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ParameterCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Raster.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/RasterProperty.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/RasterPropertyDefinition.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Resource.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ResourceIdentifier.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ResourceService.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/SpatialContextReader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/SqlDataReader.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Transaction.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/UpdateFeatures.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/Warnings.h" />
+
+    <Header path="../../../../../Common/PlatformBase/MapLayer/LayerBase.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/LayerCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/LayerGroup.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/LayerGroupCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/MapBase.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/MapCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/ReadOnlyLayerCollection.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/SelectionBase.h" />
+
+</Headers>
+
+</Parameters>

Added: sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseConstants.xml
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseConstants.xml	                        (rev 0)
+++ sandbox/jng/vanilla_swig/Bindings/src/Bindings/DotNet/PlatformBase/PlatformBaseConstants.xml	2020-11-10 11:08:18 UTC (rev 9764)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<Parameters>
+
+<!--
+   Type replacements.
+-->
+<PHPTypeReplacements>
+    <TypeReplacement oldtype="STRING" newtype="" />
+    <TypeReplacement oldtype="INT16" newtype="" />
+    <TypeReplacement oldtype="INT32" newtype="" />
+    <TypeReplacement oldtype="int" newtype="" />
+    <TypeReplacement oldtype="float" newtype="" />
+    <TypeReplacement oldtype="double" newtype="" />
+    <TypeReplacement oldtype="static" newtype="" />
+    <TypeReplacement oldtype="bool" newtype="" />
+</PHPTypeReplacements>
+<CSharpTypeReplacements>
+    <TypeReplacement oldtype="STRING" newtype="string" />
+    <TypeReplacement oldtype="INT16" newtype="short" />
+    <TypeReplacement oldtype="INT32" newtype="int" />
+    <TypeReplacement oldtype="int" newtype="int" />
+    <TypeReplacement oldtype="float" newtype="float" />
+    <TypeReplacement oldtype="double" newtype="double" />
+    <TypeReplacement oldtype="static" newtype="" />
+    <TypeReplacement oldtype="const" newtype="const" />
+</CSharpTypeReplacements>
+<JavaTypeReplacements>
+    <TypeReplacement oldtype="STRING" newtype="String" />
+    <TypeReplacement oldtype="INT16" newtype="short" />
+    <TypeReplacement oldtype="INT32" newtype="int" />
+    <TypeReplacement oldtype="int" newtype="int" />
+    <TypeReplacement oldtype="float" newtype="float" />
+    <TypeReplacement oldtype="double" newtype="double" />
+    <TypeReplacement oldtype="const" newtype="final" />
+    <TypeReplacement oldtype="bool" newtype="boolean" />
+</JavaTypeReplacements>
+
+<!--
+   Inline section.
+-->
+<Inline>
+//
+//  Copyright (C) 2004-2011 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
+//
+</Inline>
+
+<Namespace>OSGeo.MapGuide</Namespace>
+<Package>org.osgeo.mapguide</Package>
+
+<Classes>
+  <Class name="MgUser" />
+  <Class name="MgGroup" />
+  <Class name="MgRole" />
+  <Class name="MgRepositoryType" />
+  <Class name="MgServiceType" />
+  <Class name="MgResourceType" />
+  <Class name="MgResourceTag" />
+  <Class name="MgResourceDataName" />
+  <Class name="MgResourceDataType" />
+  <Class name="MgResourcePermission" />
+  <Class name="MgResourceHeaderProperties" />
+  <Class name="MgLayerGroupType" />
+  <Class name="MgLayerType" />
+  <Class name="MgFeatureGeometricType" />
+  <Class name="MgReaderType" />
+  <Class name="MgOrderingOption" />
+  <Class name="MgParameterDirection" />
+  <Class name="MgFeatureSpatialOperations" />
+  <Class name="MgFeatureCommandType" />
+  <Class name="MgObjectPropertyType" />
+  <Class name="MgSpatialContextExtentType" />
+  <Class name="MgRasterDataModelType" />
+</Classes>
+
+<!--
+   C++ Headers section.  If you add headers to this section then you
+   must also add them to Makefile.am in the JavaApi and PhpApi folders.
+-->
+<Headers>
+
+    <!-- API -->
+    <Header path="../../../../../Common/PlatformBase/MapLayer/LayerGroupType.h" />
+    <Header path="../../../../../Common/PlatformBase/MapLayer/LayerType.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/BaseServiceDefs.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureCommandType.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureGeometricType.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/FeatureSpatialOperations.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ObjectPropertyType.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/OrderingOption.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ParameterDirection.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/RasterTypes.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ReaderType.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/ResourceDefs.h" />
+    <Header path="../../../../../Common/PlatformBase/Services/SpatialContextExtentType.h" />
+</Headers>
+
+</Parameters>

Modified: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.Foundation/custom/AssemblyInfo.cs
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.Foundation/custom/AssemblyInfo.cs	2020-11-10 10:56:21 UTC (rev 9763)
+++ sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.Foundation/custom/AssemblyInfo.cs	2020-11-10 11:08:18 UTC (rev 9764)
@@ -1,3 +1,4 @@
 using System.Runtime.CompilerServices;
 
-[assembly: InternalsVisibleTo("OSGeo.MapGuide.Geometry")]
\ No newline at end of file
+[assembly: InternalsVisibleTo("OSGeo.MapGuide.Geometry")]
+[assembly: InternalsVisibleTo("OSGeo.MapGuide.PlatformBase")]
\ No newline at end of file

Index: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase	2020-11-10 10:56:21 UTC (rev 9763)
+++ sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase	2020-11-10 11:08:18 UTC (rev 9764)

Property changes on: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,2 ##
+*.cs
+bin
Added: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/OSGeo.MapGuide.PlatformBase.csproj
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/OSGeo.MapGuide.PlatformBase.csproj	                        (rev 0)
+++ sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/OSGeo.MapGuide.PlatformBase.csproj	2020-11-10 11:08:18 UTC (rev 9764)
@@ -0,0 +1,40 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <PackageId>OSGeo.MapGuide.PlatformBase</PackageId>
+    <TargetFramework>netstandard2.0</TargetFramework>
+    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <Version>4.0.0.0</Version>
+    <PackageProjectUrl>https://mapguide.osgeo.org/</PackageProjectUrl>
+    <RepositoryUrl>https://mapguide.osgeo.org/</RepositoryUrl>
+    <PackageIconUrl>https://mapguide.osgeo.org/</PackageIconUrl>
+    <PackageTags>MapGuide GIS Geospatial Maps</PackageTags>
+    <Authors>OSGeo</Authors>
+    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    <PackageLicenseExpression></PackageLicenseExpression>
+    <PackageLicenseFile>License.txt</PackageLicenseFile>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <Content Include="build/**" PackagePath="%(Identity)" />
+    <Content Include="runtimes/**" PackagePath="%(Identity)" />
+  </ItemGroup>
+
+  <ItemGroup>
+    <Compile Include="..\Common\MgClassMap.cs" Link="MgClassMap.cs" />
+  </ItemGroup>
+
+  <ItemGroup>
+    <None Include="..\..\..\..\..\License.txt">
+      <Pack>True</Pack>
+      <PackagePath></PackagePath>
+    </None>
+  </ItemGroup>
+
+  <ItemGroup>
+    <ProjectReference Include="..\OSGeo.MapGuide.Foundation\OSGeo.MapGuide.Foundation.csproj" />
+    <ProjectReference Include="..\OSGeo.MapGuide.Geometry\OSGeo.MapGuide.Geometry.csproj" />
+  </ItemGroup>
+
+</Project>

Index: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native	2020-11-10 10:56:21 UTC (rev 9763)
+++ sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native	2020-11-10 11:08:18 UTC (rev 9764)

Property changes on: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,2 ##
+*.dll
+*.pdb
Added: sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native/README.txt
===================================================================
--- sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native/README.txt	                        (rev 0)
+++ sandbox/jng/vanilla_swig/Bindings/src/Managed/DotNet/OSGeo.MapGuide.PlatformBase/runtimes/win-x64/native/README.txt	2020-11-10 11:08:18 UTC (rev 9764)
@@ -0,0 +1 @@
+All ummanaged libraries being P/Invoked (including their dependencies) go here
\ No newline at end of file



More information about the mapguide-commits mailing list