diff --git a/build.cmd b/build.cmd index d558657..05f5974 100644 --- a/build.cmd +++ b/build.cmd @@ -12,9 +12,9 @@ msbuild /p:Configuration=%MG_CONFIG%;Platform=x64 Bindings.sln if errorlevel 1 goto error popd pushd src\Bindings\DotNet\MapGuideDotNetApi -call dnu restore +call dotnet restore if errorlevel 1 goto error -call dnu pack --configuration Release +call dotnet pack --configuration Release if errorlevel 1 goto error popd goto end diff --git a/envsetupsdk.cmd b/envsetupsdk.cmd index c914692..59e2aad 100644 --- a/envsetupsdk.cmd +++ b/envsetupsdk.cmd @@ -29,17 +29,17 @@ SET MG_SDK_LIB64=../../../%MG_SDK_DIR%/Lib64 REM restore nuget packages just in case pushd src\Tools -call dnu restore +call dotnet restore popd echo Preparing SWIG configurations pushd src\Tools\SwigPrepare -call dnx run ..\..\..\sdk\%MG_VERSION% ..\..\Bindings\MapGuideApi +call dotnet run ..\..\..\sdk\%MG_VERSION% ..\..\Bindings\MapGuideApi popd echo Stamping version [%MG_VER_MAJOR%.%MG_VER_MINOR%.%MG_VER_REV%.%MG_VER_BUILD%] pushd src\Tools\StampVer -call dnx run ..\.. %MG_VER_MAJOR% %MG_VER_MINOR% %MG_VER_REV% %MG_VER_BUILD% +call dotnet run ..\.. %MG_VER_MAJOR% %MG_VER_MINOR% %MG_VER_REV% %MG_VER_BUILD% popd echo Preparing native binaries for nuget package diff --git a/src/Bindings/Bindings.sln b/src/Bindings/Bindings.sln index 5cf8998..378f592 100644 --- a/src/Bindings/Bindings.sln +++ b/src/Bindings/Bindings.sln @@ -18,86 +18,53 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{99132700 EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug_VC11|Any CPU = Debug_VC11|Any CPU Debug_VC11|x64 = Debug_VC11|x64 Debug_VC11|x86 = Debug_VC11|x86 - Debug_VC14|Any CPU = Debug_VC14|Any CPU Debug_VC14|x64 = Debug_VC14|x64 Debug_VC14|x86 = Debug_VC14|x86 - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release_VC11|Any CPU = Release_VC11|Any CPU Release_VC11|x64 = Release_VC11|x64 Release_VC11|x86 = Release_VC11|x86 - Release_VC14|Any CPU = Release_VC14|Any CPU Release_VC14|x64 = Release_VC14|x64 Release_VC14|x86 = Release_VC14|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC11|Any CPU.ActiveCfg = Debug_VC11|Win32 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC11|x64.ActiveCfg = Debug_VC11|x64 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC11|x64.Build.0 = Debug_VC11|x64 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC11|x86.ActiveCfg = Debug_VC11|Win32 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC11|x86.Build.0 = Debug_VC11|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC14|Any CPU.ActiveCfg = Debug_VC14|Win32 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC14|x64.ActiveCfg = Debug_VC14|x64 + {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC14|x64.Build.0 = Debug_VC14|x64 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC14|x86.ActiveCfg = Debug_VC14|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug|x64.ActiveCfg = Debug|x64 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug|x64.Build.0 = Debug|x64 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug|x86.ActiveCfg = Debug|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug|x86.Build.0 = Debug|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC11|Any CPU.ActiveCfg = Release_VC11|Win32 + {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Debug_VC14|x86.Build.0 = Debug_VC14|Win32 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC11|x64.ActiveCfg = Release_VC11|x64 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC11|x64.Build.0 = Release_VC11|x64 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC11|x86.ActiveCfg = Release_VC11|Win32 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC11|x86.Build.0 = Release_VC11|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC14|Any CPU.ActiveCfg = Release_VC14|Win32 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC14|x64.ActiveCfg = Release_VC14|x64 + {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC14|x64.Build.0 = Release_VC14|x64 {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC14|x86.ActiveCfg = Release_VC14|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release|Any CPU.ActiveCfg = Release|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release|x64.ActiveCfg = Release|x64 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release|x64.Build.0 = Release|x64 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release|x86.ActiveCfg = Release|Win32 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release|x86.Build.0 = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|Any CPU.ActiveCfg = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|Any CPU.Build.0 = Release|Win32 + {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E}.Release_VC14|x86.Build.0 = Release_VC14|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|x64.ActiveCfg = Debug|Win32 + {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|x64.Build.0 = Debug|Win32 + {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|x64.Deploy.0 = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|x86.ActiveCfg = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC11|x86.Build.0 = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|Any CPU.ActiveCfg = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|Any CPU.Build.0 = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|Any CPU.Deploy.0 = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|x64.ActiveCfg = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|x64.Build.0 = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|x64.Deploy.0 = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|x86.ActiveCfg = Debug|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug_VC14|x86.Build.0 = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug|x64.ActiveCfg = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug|x86.ActiveCfg = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Debug|x86.Build.0 = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|Any CPU.ActiveCfg = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|Any CPU.Build.0 = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|x64.ActiveCfg = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|x64.Build.0 = Release|Win32 + {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|x64.Deploy.0 = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|x86.ActiveCfg = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC11|x86.Build.0 = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|Any CPU.ActiveCfg = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x64.ActiveCfg = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x64.Build.0 = Debug|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x64.Deploy.0 = Debug|Win32 + {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x64.ActiveCfg = Release|Win32 + {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x64.Build.0 = Release|Win32 + {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x64.Deploy.0 = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x86.ActiveCfg = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x86.Build.0 = Release|Win32 {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release_VC14|x86.Deploy.0 = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release|Any CPU.ActiveCfg = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release|x64.ActiveCfg = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release|x86.ActiveCfg = Release|Win32 - {B601F04C-0D42-4AFC-A092-B31185E2EA8C}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Bindings/DotNet/DotNetUnmanagedApi.vcxproj b/src/Bindings/DotNet/DotNetUnmanagedApi.vcxproj index 2ca090b..a58c53d 100644 --- a/src/Bindings/DotNet/DotNetUnmanagedApi.vcxproj +++ b/src/Bindings/DotNet/DotNetUnmanagedApi.vcxproj @@ -17,14 +17,6 @@ Debug_VC14 x64 - - Debug - Win32 - - - Debug - x64 - Release_VC11 Win32 @@ -41,14 +33,6 @@ Release_VC14 x64 - - Release - Win32 - - - Release - x64 - {FDC09E9D-72BB-4C74-B88B-727D9D1D6C4E} @@ -57,11 +41,6 @@ 8.1 - - DynamicLibrary - Unicode - v140 - DynamicLibrary Unicode @@ -72,11 +51,6 @@ Unicode v140 - - DynamicLibrary - Unicode - v140 - DynamicLibrary Unicode @@ -87,22 +61,12 @@ Unicode v140 - - DynamicLibrary - Unicode - v140 - DynamicLibrary Unicode v110 - DynamicLibrary - Unicode - v110 - - DynamicLibrary Unicode v140 @@ -115,41 +79,29 @@ DynamicLibrary Unicode - v110 + v140 - - - - - - - - - - - - @@ -159,128 +111,63 @@ <_ProjectFileVersion>10.0.40219.1 - bin\$(Configuration)\ bin\$(Configuration)\ bin\$(Configuration)\ - obj\$(Configuration)\DotNetUnmanagedApi\ obj\$(Configuration)\DotNetUnmanagedApi\ obj\$(Configuration)\DotNetUnmanagedApi\ - true true true - bin\$(Configuration)64\ bin\$(Configuration)64\ bin\$(Configuration)64\ - obj\$(Configuration)64\DotNetUnmanagedApi\ obj\$(Configuration)64\DotNetUnmanagedApi\ obj\$(Configuration)64\DotNetUnmanagedApi\ - true true true - bin\$(Configuration)\ bin\$(Configuration)\ bin\$(Configuration)\ - obj\$(Configuration)\DotNetUnmanagedApi\ obj\$(Configuration)\DotNetUnmanagedApi\ obj\$(Configuration)\DotNetUnmanagedApi\ - false false false - bin\$(Configuration)64\ bin\$(Configuration)64\ bin\$(Configuration)64\ - obj\$(Configuration)64\DotNetUnmanagedApi\ obj\$(Configuration)64\DotNetUnmanagedApi\ obj\$(Configuration)64\DotNetUnmanagedApi\ - false false false - AllRules.ruleset AllRules.ruleset AllRules.ruleset - - - AllRules.ruleset AllRules.ruleset AllRules.ruleset - - - AllRules.ruleset AllRules.ruleset AllRules.ruleset - - - AllRules.ruleset AllRules.ruleset AllRules.ruleset - - - MapGuideDotNetUnmanagedApid MapGuideDotNetUnmanagedApid MapGuideDotNetUnmanagedApid - MapGuideDotNetUnmanagedApid MapGuideDotNetUnmanagedApid MapGuideDotNetUnmanagedApid - MapGuideDotNetUnmanagedApi MapGuideDotNetUnmanagedApi MapGuideDotNetUnmanagedApi - MapGuideDotNetUnmanagedApi MapGuideDotNetUnmanagedApi MapGuideDotNetUnmanagedApi - - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" -if exist "$(ProjectDir)MapGuideApi_Properties.i" del /Q "$(ProjectDir)MapGuideApi_Properties.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\Constants.xml" C# "$(ProjectDir)MapGuideDotNetApi\Constants.cs" -copy "$(ProjectDir)dotnetcore.i" "$(ProjectDir)language.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\MapGuideApiGen.xml" C# -$(SWIG_TOOL_PATH)\swig -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 MapGuideDotNetUnmanagedApi -o "$(ProjectDir)MgApi_wrap.cpp" -outdir "$(ProjectDir)MapGuideDotNetApi" MapGuideApi.i -del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs - - - - Disabled - $(MG_SDK_INC);$(MG_HTTPHANDLER_INCLUDE_DIR);$(MG_WEBAPP_INCLUDE_DIR);$(MG_WEBSUPPORT_INCLUDE_DIR);$(MG_MDFMODEL_INCLUDE_DIR);$(MG_FOUNDATION_INCLUDE_DIR);$(MG_GEOMETRY_INCLUDE_DIR);$(MG_PLATFORMBASE_INCLUDE_DIR);$(MG_MAPGUIDECOMMON_INCLUDE_DIR);$(MG_OEM_ACE_INCLUDE_DIR);$(MG_OEM_XERCES_INCLUDE_DIR);%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;_USE_32BIT_TIME_T;%(PreprocessorDefinitions) - Async - EnableFastChecks - MultiThreadedDebugDLL - Level3 - ProgramDatabase - true - /bigobj %(AdditionalOptions) - - - ACEd.lib;xerces-c_3mgD.lib;%(AdditionalDependencies) - $(ProjectDir)MapGuideDotNetApi\runtimes\win7-x86\native\MapGuideDotNetUnmanagedApid.dll - $(MG_SDK_LIB);$(MG_OEM_ACE_LIB_ROOT)\lib\$(Configuration);$(MG_OEM_XERCES_LIB_ROOT)\$(Configuration);%(AdditionalLibraryDirectories) - true - $(OutDir)MapGuideDotNetUnmanagedApid.pdb - Windows - false - - - lib\$(Configuration)\MapGuideDotNetUnmanagedApid.lib - MachineX86 - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" @@ -355,43 +242,6 @@ del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs MachineX86 - - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" -if exist "$(ProjectDir)MapGuideApi_Properties.i" del /Q "$(ProjectDir)MapGuideApi_Properties.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\Constants.xml" C# "$(ProjectDir)MapGuideDotNetApi\Constants.cs" -copy "$(ProjectDir)dotnetcore.i" "$(ProjectDir)language.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\MapGuideApiGen.xml" C# -$(SWIG_TOOL_PATH)\swig -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 MapGuideDotNetUnmanagedApi -o "$(ProjectDir)MgApi_wrap.cpp" -outdir "$(ProjectDir)MapGuideDotNetApi" MapGuideApi.i -del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs - - - - Disabled - $(MG_SDK_INC);$(MG_HTTPHANDLER_INCLUDE_DIR);$(MG_WEBAPP_INCLUDE_DIR);$(MG_WEBSUPPORT_INCLUDE_DIR);$(MG_MDFMODEL_INCLUDE_DIR);$(MG_FOUNDATION_INCLUDE_DIR);$(MG_GEOMETRY_INCLUDE_DIR);$(MG_PLATFORMBASE_INCLUDE_DIR);$(MG_MAPGUIDECOMMON_INCLUDE_DIR);$(MG_OEM_ACE_INCLUDE_DIR);$(MG_OEM_XERCES_INCLUDE_DIR);%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Async - EnableFastChecks - MultiThreadedDebugDLL - Level3 - ProgramDatabase - true - /bigobj %(AdditionalOptions) - - - ACEd.lib;xerces-c_3mgD.lib;%(AdditionalDependencies) - $(ProjectDir)MapGuideDotNetApi\runtimes\win7-x64\native\MapGuideDotNetUnmanagedApid.dll - $(MG_SDK_LIB64);$(MG_OEM_ACE_LIB_ROOT)\lib64\$(Configuration);$(MG_OEM_XERCES_LIB_ROOT)\$(Configuration)64;%(AdditionalLibraryDirectories) - true - $(OutDir)MapGuideDotNetUnmanagedApid.pdb - Windows - false - - - lib\$(Configuration)64\MapGuideDotNetUnmanagedApid.lib - MachineX64 - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" @@ -466,44 +316,6 @@ del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs MachineX64 - - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" -if exist "$(ProjectDir)MapGuideApi_Properties.i" del /Q "$(ProjectDir)MapGuideApi_Properties.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\Constants.xml" C# "$(ProjectDir)MapGuideDotNetApi\Constants.cs" -copy "$(ProjectDir)dotnetcore.i" "$(ProjectDir)language.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\MapGuideApiGen.xml" C# -$(SWIG_TOOL_PATH)\swig -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 MapGuideDotNetUnmanagedApi -o "$(ProjectDir)MgApi_wrap.cpp" -outdir "$(ProjectDir)MapGuideDotNetApi" MapGuideApi.i -del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs - - - - MaxSpeed - $(MG_SDK_INC);$(MG_HTTPHANDLER_INCLUDE_DIR);$(MG_WEBAPP_INCLUDE_DIR);$(MG_WEBSUPPORT_INCLUDE_DIR);$(MG_MDFMODEL_INCLUDE_DIR);$(MG_FOUNDATION_INCLUDE_DIR);$(MG_GEOMETRY_INCLUDE_DIR);$(MG_PLATFORMBASE_INCLUDE_DIR);$(MG_MAPGUIDECOMMON_INCLUDE_DIR);$(MG_OEM_ACE_INCLUDE_DIR);$(MG_OEM_XERCES_INCLUDE_DIR);%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;_USE_32BIT_TIME_T;%(PreprocessorDefinitions) - Async - MultiThreadedDLL - Level3 - ProgramDatabase - true - /bigobj %(AdditionalOptions) - - - ACE.lib;xerces-c_3mg.lib;MgFoundation.lib;MgGeometry.lib;MgPlatformBase.lib;MgMapGuideCommon.lib;HttpHandler.lib;WebApp.lib;WebSupport.lib;%(AdditionalDependencies) - $(ProjectDir)MapGuideDotNetApi\runtimes\win7-x86\native\MapGuideDotNetUnmanagedApi.dll - $(MG_SDK_LIB);$(MG_SOURCE_ROOT)\Common\lib\Release;$(MG_SOURCE_ROOT)\Web\lib\Release;$(MG_OEM_ACE_LIB_ROOT)\lib\$(Configuration);$(MG_OEM_XERCES_LIB_ROOT)\$(Configuration);%(AdditionalLibraryDirectories) - true - $(OutDir)MapGuideDotNetUnmanagedApi.pdb - Windows - true - true - false - - - lib\$(Configuration)\MapGuideDotNetUnmanagedApi.lib - MachineX86 - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" @@ -580,44 +392,6 @@ del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs MachineX86 - - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" -if exist "$(ProjectDir)MapGuideApi_Properties.i" del /Q "$(ProjectDir)MapGuideApi_Properties.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\Constants.xml" C# "$(ProjectDir)MapGuideDotNetApi\Constants.cs" -copy "$(ProjectDir)dotnetcore.i" "$(ProjectDir)language.i" -"..\..\IMake\Win32\IMake.exe" "$(ProjectDir)..\MapGuideApi\MapGuideApiGen.xml" C# -$(SWIG_TOOL_PATH)\swig -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 MapGuideDotNetUnmanagedApi -o "$(ProjectDir)MgApi_wrap.cpp" -outdir "$(ProjectDir)MapGuideDotNetApi" MapGuideApi.i -del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs - - - - MaxSpeed - $(MG_SDK_INC);$(MG_HTTPHANDLER_INCLUDE_DIR);$(MG_WEBAPP_INCLUDE_DIR);$(MG_WEBSUPPORT_INCLUDE_DIR);$(MG_MDFMODEL_INCLUDE_DIR);$(MG_FOUNDATION_INCLUDE_DIR);$(MG_GEOMETRY_INCLUDE_DIR);$(MG_PLATFORMBASE_INCLUDE_DIR);$(MG_MAPGUIDECOMMON_INCLUDE_DIR);$(MG_OEM_ACE_INCLUDE_DIR);$(MG_OEM_XERCES_INCLUDE_DIR);%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN64;%(PreprocessorDefinitions) - Async - MultiThreadedDLL - Level3 - ProgramDatabase - true - /bigobj %(AdditionalOptions) - - - ACE.lib;xerces-c_3mg.lib;MgFoundation.lib;MgGeometry.lib;MgPlatformBase.lib;MgMapGuideCommon.lib;HttpHandler.lib;WebApp.lib;WebSupport.lib;%(AdditionalDependencies) - $(ProjectDir)MapGuideDotNetApi\runtimes\win7-x64\native\MapGuideDotNetUnmanagedApi.dll - $(MG_SDK_LIB64);$(MG_SOURCE_ROOT)\Common\lib\Release64;$(MG_SOURCE_ROOT)\Web\lib\Release64;$(MG_OEM_ACE_LIB_ROOT)\lib64\$(Configuration);$(MG_OEM_XERCES_LIB_ROOT)\$(Configuration)64;%(AdditionalLibraryDirectories) - true - $(OutDir)MapGuideDotNetUnmanagedApi.pdb - Windows - true - true - false - - - lib\$(Configuration)64\MapGuideDotNetUnmanagedApi.lib - MachineX64 - - del /Q "$(ProjectDir)MapGuideDotNetApi\*.cs" @@ -696,16 +470,12 @@ del /Q MapGuideDotNetApi\MapGuideDotNetUnmanagedApi.cs - false false false - false false false - false false false - false false false diff --git a/src/Bindings/DotNet/MapGuideDotNetApi/MapGuideDotNetApi.csproj b/src/Bindings/DotNet/MapGuideDotNetApi/MapGuideDotNetApi.csproj index fca433f..08fa59f 100644 --- a/src/Bindings/DotNet/MapGuideDotNetApi/MapGuideDotNetApi.csproj +++ b/src/Bindings/DotNet/MapGuideDotNetApi/MapGuideDotNetApi.csproj @@ -2,6 +2,7 @@ netstandard1.0 + false diff --git a/src/Bindings/DotNet/MapGuideDotNetApi/Properties/AssemblyInfo.cs b/src/Bindings/DotNet/MapGuideDotNetApi/Properties/AssemblyInfo.cs index a55403e..b5a44c5 100644 --- a/src/Bindings/DotNet/MapGuideDotNetApi/Properties/AssemblyInfo.cs +++ b/src/Bindings/DotNet/MapGuideDotNetApi/Properties/AssemblyInfo.cs @@ -45,9 +45,9 @@ // 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")] +[assembly: AssemblyVersion("3.3.0.0")] +[assembly: AssemblyFileVersion("3.3.0.0")] +[assembly: AssemblyInformationalVersion("3.3.0.0")] // // In order to sign your assembly you must specify a key to use. Refer to the diff --git a/src/Bindings/DotNet/MapGuideDotNetApi/project.json b/src/Bindings/DotNet/MapGuideDotNetApi/project.json deleted file mode 100644 index 0a95197..0000000 --- a/src/Bindings/DotNet/MapGuideDotNetApi/project.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "version": "3.1.0-*", - "description": "MapGuide API for .net", - "authors": [ "Open Source Geospatial Foundation" ], - "tags": [ "MapGuide" ], - "projectUrl": "http://mapguide.osgeo.org", - "licenseUrl": "http://www.gnu.org/licenses/lgpl-2.1.txt", - "configurations": { - "Debug": { - "compilationOptions": { - "define": [ "DEBUG", "TRACE" ] - } - }, - "Release": { - "compilationOptions": { - "define": [ "RELEASE", "TRACE" ], - "optimize": true - } - } - }, - "frameworks": { - "dnx451": { }, - "dnxcore50": { - "dependencies": { - "Microsoft.CSharp": "4.0.1-beta-23409", - "System.Collections": "4.0.11-beta-23409", - "System.Linq": "4.0.1-beta-23409", - "System.Runtime": "4.0.21-beta-23409", - "System.Threading": "4.0.11-beta-23409", - "System.Runtime.Extensions": "4.0.11-beta-23409", - "System.Runtime.InteropServices": "4.0.21-beta-23409" - } - } - }, - "sources": { - "compile": [ "*.cs", "custom/*.cs", "Properties/AssemblyInfo.cs" ] - }, - "packInclude": { - "runtimes/": "runtimes/**" - } -} \ No newline at end of file