[mapguide-commits] r10046 - in sandbox/adsk/trunk/Web/src: DotNetApi/Foundation DotNetApi/Geometry DotNetApi/MapGuideCommon DotNetApi/PlatformBase DotNetUnmanagedApi/Foundation DotNetUnmanagedApi/Geometry DotNetUnmanagedApi/MapGuideCommon DotNetUnmanagedApi/PlatformBase
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Apr 3 22:54:47 PDT 2023
Author: christinebao
Date: 2023-04-03 22:54:46 -0700 (Mon, 03 Apr 2023)
New Revision: 10046
Added:
sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/OSGeo.MapGuide.Foundation.csproj
sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/OSGeo.MapGuide.Geometry.csproj
sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/OSGeo.MapGuide.MapGuideCommon.csproj
sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/OSGeo.MapGuide.PlatformBase.csproj
Modified:
sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationDotNetApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationMakefile
sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryDotNetApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryMakefile
sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonDotNetApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile
sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseDotNetApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile
sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Foundation/FoundationApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Geometry/GeometryApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApi.vcxproj
sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/PlatformBase/PlatformBaseApi.vcxproj
Log:
1. csc.exe only can target .net framework, so we use `dotnet build` command to build these projects.
2. in post build event of vcxprojs, we delete obj folder first, otherwise will cause build error on build DotNetApi projects. And now, if you rebuild only for DotNetApi projects, build still fails. Because we try to delete obj folder failed in makefile.
3. In BRE env, we use command like `devenv GisPlatformEnterprise.sln /build "release|x64" /out "./enterprise.log"` to build sln files.
Some DotNetApi projects are build by makefile, and in makefile we use dotnet command to build projects.
An this will cause `C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\NuGet\17.0\Microsoft.NuGet.targets(198,5): error : Sequence contains no elements` build error.
So, add `<ResolveNuGetPackages>false</ResolveNuGetPackages>` to prevent the nuget task from being called.
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationDotNetApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationDotNetApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationDotNetApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -22,6 +22,7 @@
<ProjectGuid>{5FE54BF6-2939-46BB-A811-277D46C901C4}</ProjectGuid>
<RootNamespace>FoundationDotNetApi</RootNamespace>
<Keyword>MakeFileProj</Keyword>
+ <ResolveNuGetPackages>false</ResolveNuGetPackages>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationMakefile
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationMakefile 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/FoundationMakefile 2023-04-04 05:54:46 UTC (rev 10046)
@@ -12,8 +12,8 @@
release: $(OUTDIR)\OSGeo.MapGuide.Foundation.dll
$(OUTDIR)\OSGeo.MapGuide.Foundation.Temp.dll:
- csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll /doc:$(OUTDIR)\OSGeo.MapGuide.Foundation.xml /platform:$(PLATFORM) /target:library .\*.cs
+ dotnet build .\OSGeo.MapGuide.Foundation.csproj
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.dll /doc:$(OUTDIR)\OSGeo.MapGuide.Foundation.xml /platform:$(PLATFORM) /target:library .\*.cs
+ dotnet build .\OSGeo.MapGuide.Foundation.csproj
Added: sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/OSGeo.MapGuide.Foundation.csproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/OSGeo.MapGuide.Foundation.csproj (rev 0)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/Foundation/OSGeo.MapGuide.Foundation.csproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -0,0 +1,9 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFramework>net6.0-windows</TargetFramework>
+ <OutputPath>$(OUTDIR)</OutputPath>
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+ <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
+ <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryDotNetApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryDotNetApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryDotNetApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -22,6 +22,7 @@
<ProjectGuid>{D70DE528-8829-42E6-8EF6-E8F2FCDA6334}</ProjectGuid>
<RootNamespace>GeometryDotNetApi</RootNamespace>
<Keyword>MakeFileProj</Keyword>
+ <ResolveNuGetPackages>false</ResolveNuGetPackages>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryMakefile
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryMakefile 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/GeometryMakefile 2023-04-04 05:54:46 UTC (rev 10046)
@@ -12,8 +12,8 @@
release: $(OUTDIR)\OSGeo.MapGuide.Geometry.dll
$(OUTDIR)\OSGeo.MapGuide.Geometry.Temp.dll:
- csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.Geometry.dll /doc:$(OUTDIR)\OSGeo.MapGuide.Geometry.xml /platform:$(PLATFORM) /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll .\*.cs
+ dotnet build .\OSGeo.MapGuide.Geometry.csproj
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.dll /doc:$(OUTDIR)\OSGeo.MapGuide.Geometry.xml /platform:$(PLATFORM) /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll .\*.cs
+ dotnet build .\OSGeo.MapGuide.Geometry.csproj
Added: sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/OSGeo.MapGuide.Geometry.csproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/OSGeo.MapGuide.Geometry.csproj (rev 0)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/Geometry/OSGeo.MapGuide.Geometry.csproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -0,0 +1,17 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFramework>net6.0-windows</TargetFramework>
+ <OutputPath>$(OUTDIR)</OutputPath>
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+ <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
+ <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="OSGeo.MapGuide.Foundation">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>$(OUTDIR)\OSGeo.MapGuide.Foundation.dll</HintPath>
+ <Private>False</Private>
+ <CopyLocal>False</CopyLocal>
+ </Reference>
+ </ItemGroup>
+</Project>
\ No newline at end of file
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonDotNetApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonDotNetApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonDotNetApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -22,6 +22,7 @@
<ProjectGuid>{4D79C4B3-6F69-40C9-8902-891BA9DE521F}</ProjectGuid>
<RootNamespace>MapGuideCommonDotNetApi</RootNamespace>
<Keyword>MakeFileProj</Keyword>
+ <ResolveNuGetPackages>false</ResolveNuGetPackages>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/MapGuideCommonMakefile 2023-04-04 05:54:46 UTC (rev 10046)
@@ -12,8 +12,8 @@
release: $(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll
$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.Temp.dll:
- csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.dll /doc:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.xml /platform:$(PLATFORM) /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll .\*.cs
+ dotnet build .\OSGeo.MapGuide.MapGuideCommon.csproj
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.dll /doc:$(OUTDIR)\OSGeo.MapGuide.MapGuideCommon.xml /platform:$(PLATFORM) /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll;$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll .\*.cs
+ dotnet build .\OSGeo.MapGuide.MapGuideCommon.csproj
Added: sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/OSGeo.MapGuide.MapGuideCommon.csproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/OSGeo.MapGuide.MapGuideCommon.csproj (rev 0)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/MapGuideCommon/OSGeo.MapGuide.MapGuideCommon.csproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -0,0 +1,29 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFramework>net6.0-windows</TargetFramework>
+ <OutputPath>$(OUTDIR)</OutputPath>
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+ <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
+ <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="OSGeo.MapGuide.Foundation">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>$(OUTDIR)\OSGeo.MapGuide.Foundation.dll</HintPath>
+ <Private>False</Private>
+ <CopyLocal>False</CopyLocal>
+ </Reference>
+ <Reference Include="OSGeo.MapGuide.Geometry">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>$(OUTDIR)\OSGeo.MapGuide.Geometry.dll</HintPath>
+ <Private>False</Private>
+ <CopyLocal>False</CopyLocal>
+ </Reference>
+ <Reference Include="OSGeo.MapGuide.PlatformBase">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll</HintPath>
+ <Private>False</Private>
+ <CopyLocal>False</CopyLocal>
+ </Reference>
+ </ItemGroup>
+</Project>
\ No newline at end of file
Added: sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/OSGeo.MapGuide.PlatformBase.csproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/OSGeo.MapGuide.PlatformBase.csproj (rev 0)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/OSGeo.MapGuide.PlatformBase.csproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -0,0 +1,23 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFramework>net6.0-windows</TargetFramework>
+ <OutputPath>$(OUTDIR)</OutputPath>
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
+ <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
+ <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="OSGeo.MapGuide.Foundation">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>$(OUTDIR)\OSGeo.MapGuide.Foundation.dll</HintPath>
+ <Private>False</Private>
+ <CopyLocal>False</CopyLocal>
+ </Reference>
+ <Reference Include="OSGeo.MapGuide.Geometry">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>$(OUTDIR)\OSGeo.MapGuide.Geometry.dll</HintPath>
+ <Private>False</Private>
+ <CopyLocal>False</CopyLocal>
+ </Reference>
+ </ItemGroup>
+</Project>
\ No newline at end of file
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseDotNetApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseDotNetApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseDotNetApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -22,6 +22,7 @@
<ProjectGuid>{41B4993D-2D85-4DF9-BC71-83837F620C8D}</ProjectGuid>
<RootNamespace>PlatformBaseDotNetApi</RootNamespace>
<Keyword>MakeFileProj</Keyword>
+ <ResolveNuGetPackages>false</ResolveNuGetPackages>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Modified: sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetApi/PlatformBase/PlatformBaseMakefile 2023-04-04 05:54:46 UTC (rev 10046)
@@ -12,8 +12,8 @@
release: $(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll
$(OUTDIR)\OSGeo.MapGuide.PlatformBase.Temp.dll:
- csc.exe /debug+ /debug:full /optimize- /out:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.dll /doc:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.xml /platform:$(PLATFORM) /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll .\*.cs
+ dotnet build .\OSGeo.MapGuide.PlatformBase.csproj
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.dll /doc:$(OUTDIR)\OSGeo.MapGuide.PlatformBase.xml /platform:$(PLATFORM) /target:library /reference:$(OUTDIR)\OSGeo.MapGuide.Foundation.dll;$(OUTDIR)\OSGeo.MapGuide.Geometry.dll .\*.cs
+ dotnet build .\OSGeo.MapGuide.PlatformBase.csproj
Modified: sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Foundation/FoundationApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Foundation/FoundationApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Foundation/FoundationApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -162,7 +162,8 @@
<AdditionalDependencies>MgMdfModeld.lib;MgFoundationd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\Foundation</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\Foundation
+if EXIST ..\..\DotNetApi\Foundation\obj rmdir /s /q ..\..\DotNetApi\Foundation\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -238,7 +239,8 @@
<AdditionalDependencies>MgMdfModel.lib;MgFoundation.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\Foundation</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\Foundation
+if EXIST ..\..\DotNetApi\Foundation\obj rmdir /s /q ..\..\DotNetApi\Foundation\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
Modified: sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Geometry/GeometryApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Geometry/GeometryApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/Geometry/GeometryApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -162,7 +162,8 @@
<AdditionalDependencies>MgMdfModeld.lib;MgGeometryd.lib;MgFoundationd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\Geometry</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\Geometry
+if EXIST ..\..\DotNetApi\Geometry\obj rmdir /s /q ..\..\DotNetApi\Geometry\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -238,7 +239,8 @@
<AdditionalDependencies>MgMdfModel.lib;MgGeometry.lib;MgFoundation.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\Geometry</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\Geometry
+if EXIST ..\..\DotNetApi\Geometry\obj rmdir /s /q ..\..\DotNetApi\Geometry\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
Modified: sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/MapGuideCommon/MapGuideCommonApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -162,7 +162,8 @@
<AdditionalDependencies>ACEd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\MapGuideCommon</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\MapGuideCommon
+if EXIST ..\..\DotNetApi\MapGuideCommon\obj rmdir /s /q ..\..\DotNetApi\MapGuideCommon\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -238,7 +239,8 @@
<AdditionalDependencies>ACE.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\MapGuideCommon</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\MapGuideCommon
+if EXIST ..\..\DotNetApi\MapGuideCommon\obj rmdir /s /q ..\..\DotNetApi\MapGuideCommon\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
Modified: sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/PlatformBase/PlatformBaseApi.vcxproj
===================================================================
--- sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/PlatformBase/PlatformBaseApi.vcxproj 2023-04-03 12:42:01 UTC (rev 10045)
+++ sandbox/adsk/trunk/Web/src/DotNetUnmanagedApi/PlatformBase/PlatformBaseApi.vcxproj 2023-04-04 05:54:46 UTC (rev 10046)
@@ -162,7 +162,9 @@
<AdditionalDependencies>MgMdfModeld.lib;MgFoundationd.lib;MgPlatformBased.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\PlatformBase</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\PlatformBase
+if EXIST ..\..\DotNetApi\PlatformBase\obj rmdir /s /q ..\..\DotNetApi\PlatformBase\obj
+</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -238,7 +240,8 @@
<AdditionalDependencies>MgMdfModel.lib;MgFoundation.lib;MgPlatformBase.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
- <Command>move /Y *.cs ..\..\DotNetApi\PlatformBase</Command>
+ <Command>move /Y *.cs ..\..\DotNetApi\PlatformBase
+if EXIST ..\..\DotNetApi\PlatformBase\obj rmdir /s /q ..\..\DotNetApi\PlatformBase\obj</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
More information about the mapguide-commits
mailing list