|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> |
3 | | - <Import Project="$(MSBuildProjectDirectory)\..\SharpMap.Common.props" /> |
4 | | - <PropertyGroup> |
5 | | - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | | - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
7 | | - <ProjectGuid>{A4140C12-53F5-438C-8D24-9E48C504FECF}</ProjectGuid> |
8 | | - <OutputType>Library</OutputType> |
9 | | - <AppDesignerFolder>Properties</AppDesignerFolder> |
10 | | - <RootNamespace>SharpMap</RootNamespace> |
11 | | - <AssemblyName>SharpMap.Extensions</AssemblyName> |
12 | | - <FileUpgradeFlags> |
13 | | - </FileUpgradeFlags> |
14 | | - <OldToolsVersion>3.5</OldToolsVersion> |
15 | | - <UpgradeBackupLocation> |
16 | | - </UpgradeBackupLocation> |
17 | | - <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> |
18 | | - <TargetFrameworkProfile> |
19 | | - </TargetFrameworkProfile> |
20 | | - <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> |
21 | | - <NuGetPackageImportStamp> |
22 | | - </NuGetPackageImportStamp> |
23 | | - <NoWarn>2100;2235</NoWarn> |
24 | | - </PropertyGroup> |
25 | | - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
26 | | - <DebugSymbols>true</DebugSymbols> |
27 | | - <DebugType>full</DebugType> |
28 | | - <Optimize>false</Optimize> |
29 | | - <OutputPath>bin\$(Configuration)\</OutputPath> |
30 | | - <DefineConstants>TRACE;DEBUG</DefineConstants> |
31 | | - <ErrorReport>prompt</ErrorReport> |
32 | | - <WarningLevel>4</WarningLevel> |
33 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
34 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
35 | | - <DocumentationFile>$(OutputPath)SharpMap.Extensions.XML</DocumentationFile> |
36 | | - <Prefer32Bit>false</Prefer32Bit> |
37 | | - </PropertyGroup> |
38 | | - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
39 | | - <DebugType>pdbonly</DebugType> |
40 | | - <Optimize>true</Optimize> |
41 | | - <OutputPath>bin\$(Configuration)\</OutputPath> |
42 | | - <DefineConstants>TRACE</DefineConstants> |
43 | | - <ErrorReport>prompt</ErrorReport> |
44 | | - <WarningLevel>4</WarningLevel> |
45 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
46 | | - <DocumentationFile>$(OutputPath)SharpMap.Extensions.XML</DocumentationFile> |
47 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
48 | | - <Prefer32Bit>false</Prefer32Bit> |
49 | | - </PropertyGroup> |
50 | | - <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseLinux|AnyCPU'"> |
51 | | - <OutputPath>bin\ReleaseLinux\</OutputPath> |
52 | | - <DefineConstants>TRACE;LINUX</DefineConstants> |
53 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
54 | | - <DocumentationFile>$(OutputPath)SharpMap.Extensions.XML</DocumentationFile> |
55 | | - <Optimize>true</Optimize> |
56 | | - <DebugType>pdbonly</DebugType> |
57 | | - <PlatformTarget>AnyCPU</PlatformTarget> |
58 | | - <LangVersion>7.3</LangVersion> |
59 | | - <ErrorReport>prompt</ErrorReport> |
60 | | - <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
61 | | - </PropertyGroup> |
62 | | - <ItemGroup Condition=" '$(Configuration)' != 'ReleaseLinux' "> |
63 | | - <Reference Include="gdalconst_csharp, Version=1.0.7127.27225, Culture=neutral, PublicKeyToken=db5a52b08dc5b321, processorArchitecture=MSIL"> |
64 | | - <HintPath>..\packages\GDAL.2.4.2\lib\net40\gdalconst_csharp.dll</HintPath> |
65 | | - </Reference> |
66 | | - <Reference Include="gdal_csharp, Version=1.0.7127.27225, Culture=neutral, PublicKeyToken=db5a52b08dc5b321, processorArchitecture=MSIL"> |
67 | | - <HintPath>..\packages\GDAL.2.4.2\lib\net40\gdal_csharp.dll</HintPath> |
68 | | - </Reference> |
69 | | - <Reference Include="ogr_csharp, Version=1.0.7127.27224, Culture=neutral, PublicKeyToken=db5a52b08dc5b321, processorArchitecture=MSIL"> |
70 | | - <HintPath>..\packages\GDAL.2.4.2\lib\net40\ogr_csharp.dll</HintPath> |
71 | | - </Reference> |
72 | | - <Reference Include="osr_csharp, Version=1.0.7127.27224, Culture=neutral, PublicKeyToken=db5a52b08dc5b321, processorArchitecture=MSIL"> |
73 | | - <HintPath>..\packages\GDAL.2.4.2\lib\net40\osr_csharp.dll</HintPath> |
74 | | - </Reference> |
75 | | - </ItemGroup> |
76 | | - <ItemGroup> |
77 | | - <Reference Include="System.Data.SQLite, Version=1.0.112.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> |
78 | | - <HintPath>..\packages\System.Data.SQLite.Core.1.0.112.0\lib\net46\System.Data.SQLite.dll</HintPath> |
79 | | - </Reference> |
80 | | - <Reference Include="Common.Logging, Version=3.4.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL"> |
81 | | - <HintPath>..\packages\Common.Logging.3.4.1\lib\net40\Common.Logging.dll</HintPath> |
82 | | - </Reference> |
83 | | - <Reference Include="Common.Logging.Core, Version=3.4.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL"> |
84 | | - <HintPath>..\packages\Common.Logging.Core.3.4.1\lib\net40\Common.Logging.Core.dll</HintPath> |
85 | | - </Reference> |
86 | | - <Reference Include="GeoAPI, Version=1.7.5.0, Culture=neutral, PublicKeyToken=a1a0da7def465678, processorArchitecture=MSIL"> |
87 | | - <HintPath>..\packages\GeoAPI.Core.1.7.5\lib\net45\GeoAPI.dll</HintPath> |
88 | | - </Reference> |
89 | | - <Reference Include="GeoAPI.CoordinateSystems, Version=1.7.5.0, Culture=neutral, PublicKeyToken=a1a0da7def465678, processorArchitecture=MSIL"> |
90 | | - <HintPath>..\packages\GeoAPI.CoordinateSystems.1.7.5\lib\net45\GeoAPI.CoordinateSystems.dll</HintPath> |
91 | | - </Reference> |
92 | | - <Reference Include="Microsoft.CSharp" /> |
93 | | - <Reference Include="NetTopologySuite, Version=1.15.3.0, Culture=neutral, PublicKeyToken=f580a05016ebada1, processorArchitecture=MSIL"> |
94 | | - <HintPath>..\packages\NetTopologySuite.Core.1.15.3\lib\net45\NetTopologySuite.dll</HintPath> |
95 | | - </Reference> |
96 | | - <Reference Include="NetTopologySuite.Features, Version=1.15.0.0, Culture=neutral, PublicKeyToken=f580a05016ebada1, processorArchitecture=MSIL"> |
97 | | - <HintPath>..\packages\NetTopologySuite.Features.1.15.1\lib\net45\NetTopologySuite.Features.dll</HintPath> |
98 | | - </Reference> |
99 | | - <Reference Include="NetTopologySuite.IO.PostGis, Version=1.15.0.0, Culture=neutral, PublicKeyToken=f580a05016ebada1, processorArchitecture=MSIL"> |
100 | | - <HintPath>..\packages\NetTopologySuite.IO.PostGis.1.15.1\lib\net45\NetTopologySuite.IO.PostGis.dll</HintPath> |
101 | | - </Reference> |
102 | | - <Reference Include="NetTopologySuite.IO.SpatiaLite, Version=0.0.1.0, Culture=neutral, PublicKeyToken=f580a05016ebada1, processorArchitecture=MSIL"> |
103 | | - <HintPath>..\packages\NetTopologySuite.IO.SpatiaLite.1.15.1\lib\net45\NetTopologySuite.IO.SpatiaLite.dll</HintPath> |
104 | | - </Reference> |
105 | | - <Reference Include="Npgsql, Version=4.0.10.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL"> |
106 | | - <HintPath>..\packages\Npgsql.4.0.10\lib\net451\Npgsql.dll</HintPath> |
107 | | - </Reference> |
108 | | - <Reference Include="Npgsql.NetTopologySuite, Version=4.0.10.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL"> |
109 | | - <HintPath>..\packages\Npgsql.NetTopologySuite.4.0.10\lib\net45\Npgsql.NetTopologySuite.dll</HintPath> |
110 | | - </Reference> |
111 | | - <Reference Include="Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=MSIL"> |
112 | | - <HintPath>..\packages\Oracle.ManagedDataAccess.19.5.0\lib\net40\Oracle.ManagedDataAccess.dll</HintPath> |
113 | | - </Reference> |
114 | | - <Reference Include="System" /> |
115 | | - <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
116 | | - <HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath> |
117 | | - </Reference> |
118 | | - <Reference Include="System.Data" /> |
119 | | - <Reference Include="System.Drawing" /> |
120 | | - <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
121 | | - <HintPath>..\packages\System.Drawing.Common.4.6.0\lib\net461\System.Drawing.Common.dll</HintPath> |
122 | | - </Reference> |
123 | | - <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
124 | | - <HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath> |
125 | | - </Reference> |
126 | | - <Reference Include="System.Numerics" /> |
127 | | - <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
128 | | - <HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath> |
129 | | - </Reference> |
130 | | - <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
131 | | - <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.6.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath> |
132 | | - </Reference> |
133 | | - <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
134 | | - <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.3\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath> |
135 | | - </Reference> |
136 | | - <Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
137 | | - <HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath> |
138 | | - </Reference> |
139 | | - <Reference Include="System.Xml" /> |
140 | | - <Reference Include="System.Xml.Linq" /> |
141 | | - </ItemGroup> |
142 | | - <ItemGroup Condition=" '$(Configuration)' != 'ReleaseLinux' "> |
143 | | - <Compile Include="Data\FwToolsHelper.cs" /> |
144 | | - <Compile Include="Data\Providers\OgrProvider.cs" /> |
145 | | - <Compile Include="GdalConfiguration.cs" /> |
146 | | - <Compile Include="Layers\GdalTileIndexRasterLayer.cs" /> |
147 | | - <Compile Include="Layers\GdalRasterLayer.cs"> |
148 | | - <SubType>Code</SubType> |
149 | | - </Compile> |
150 | | - <Compile Include="Layers\GdalRasterLayerCachingProxy.cs" /> |
151 | | - <Compile Include="Layers\GeoTransform.cs" /> |
152 | | - </ItemGroup> |
153 | | - <ItemGroup> |
154 | | - <Compile Include="Data\Providers\ManagedSpatiaLite.cs" /> |
155 | | - <Compile Include="Data\Providers\SpatiaLite.cs" /> |
156 | | - <Compile Include="Data\Providers\SpatiaLiteIndex.cs" /> |
157 | | - <Compile Include="Data\Providers\SqlLite.cs" /> |
158 | | - <Compile Include="Data\Providers\DataTablePoint.cs" /> |
159 | | - <Compile Include="Data\Providers\NtsProvider.cs" /> |
160 | | - <Compile Include="Data\Providers\Oracle.cs" /> |
161 | | - <Compile Include="Data\Providers\PostGIS.cs" /> |
162 | | - <Compile Include="Properties\AssemblyInfo.cs" /> |
163 | | - </ItemGroup> |
164 | | - <ItemGroup> |
165 | | - <None Include="app.config" /> |
166 | | - <None Include="packages.config"> |
167 | | - <SubType>Designer</SubType> |
168 | | - </None> |
169 | | - </ItemGroup> |
170 | | - <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
171 | | - <PropertyGroup> |
172 | | - <PostBuildEvent> |
173 | | - </PostBuildEvent> |
174 | | - </PropertyGroup> |
175 | | - <Target Name="AfterBuild" Condition=" '$(Configuration)' != 'ReleaseLinux' "> |
176 | | - <Message Importance="high" Text="$(MSBuildBinPath)" /> |
177 | | - <Message Importance="high" Text="$(MSBuildToolsPath)" /> |
178 | | - <Exec Command=""NuGet.exe" pack "$(MSBuildProjectDirectory)\$(MSBuildProjectFile)" -Symbols -version $(Version) -Properties Configuration=$(Configuration) -outputdirectory "$(PackageOutputPath)\."" /> |
179 | | - </Target> |
180 | | - <ItemGroup> |
181 | | - <ProjectReference Include="..\SharpMap\SharpMap.csproj"> |
182 | | - <Project>{C83777FC-AABB-47D9-911F-D76255D4D541}</Project> |
183 | | - <Name>SharpMap</Name> |
184 | | - </ProjectReference> |
185 | | - </ItemGroup> |
186 | | - <Import Project="..\packages\System.Data.SQLite.Core.1.0.112.0\build\net46\System.Data.SQLite.Core.targets" Condition=" '$(Configuration)' != 'ReleaseLinux' AND Exists('..\packages\System.Data.SQLite.Core.1.0.112.0\build\net46\System.Data.SQLite.Core.targets')" /> |
187 | | - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild" Condition=" '$(Configuration)' != 'ReleaseLinux' "> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <Import Project="$(SolutionDir)SharpMap.Common.props" /> |
| 3 | + |
188 | 4 | <PropertyGroup> |
189 | | - <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 5 | + <TargetFramework>net472</TargetFramework> |
| 6 | + <Product>SharpMap.Extensions</Product> |
| 7 | + <Copyright>Copyright © 2006 - 2012 Christian Gräfe, Copyright 2012-$([System.DateTime]::UtcNow.Year) SharpMap - Team</Copyright> |
| 8 | + <PackageTags>SharpMap GIS Map GeoSpatial</PackageTags> |
| 9 | + <Description>Extensions for the SharpMap Engine</Description> |
| 10 | + <!--<EnableApiCompat>true</EnableApiCompat>--> |
| 11 | + <NoWarn>1701;1702;2100;2235</NoWarn> |
| 12 | + <RootNamespace>SharpMap</RootNamespace> |
190 | 13 | </PropertyGroup> |
191 | | - <Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.112.0\build\net46\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.112.0\build\net46\System.Data.SQLite.Core.targets'))" /> |
192 | | - </Target> |
| 14 | + |
| 15 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseLinux|AnyCPU'"> |
| 16 | + <OutputPath>bin\ReleaseLinux\</OutputPath> |
| 17 | + <DefineConstants>TRACE;LINUX</DefineConstants> |
| 18 | + </PropertyGroup> |
| 19 | + |
| 20 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> |
| 21 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 22 | + </PropertyGroup> |
| 23 | + |
| 24 | + <ItemGroup Condition="'$(Configuration)' != 'ReleaseLinux'"> |
| 25 | + <PackageReference Include="GDAL.Native" Version="2.4.2" /> |
| 26 | + </ItemGroup> |
| 27 | + <ItemGroup> |
| 28 | + <PackageReference Include="NetTopologySuite.Core" Version="1.15.3" /> |
| 29 | + <PackageReference Include="NetTopologySuite.Features" Version="1.15.1" /> |
| 30 | + <PackageReference Include="NetTopologySuite.IO.PostGis" Version="1.15.1" /> |
| 31 | + <PackageReference Include="NetTopologySuite.IO.SpatiaLite" Version="1.15.1" /> |
| 32 | + <PackageReference Include="Npgsql" Version="4.0.10" /> |
| 33 | + <PackageReference Include="Oracle.ManagedDataAccess.Core" Version="2.19.90" /> |
| 34 | + <PackageReference Include="System.Data.SQLite.Core" Version="1.0.112" /> |
| 35 | + </ItemGroup> |
| 36 | + |
| 37 | + |
| 38 | + <ItemGroup> |
| 39 | + <ProjectReference Include="..\SharpMap\SharpMap.csproj" /> |
| 40 | + |
| 41 | + </ItemGroup> |
| 42 | + |
| 43 | + |
| 44 | + <ItemGroup> |
| 45 | + <Folder Include="Properties\" /> |
| 46 | + </ItemGroup> |
193 | 47 | </Project> |
0 commit comments