Skip to content

Commit 3ef91c1

Browse files
committed
* Add .Net Core and .Net Standard support
1 parent 7969528 commit 3ef91c1

File tree

4 files changed

+22
-245
lines changed

4 files changed

+22
-245
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,4 @@ Generated_Code #added for RIA/Silverlight projects
113113
_UpgradeReport_Files/
114114
Backup*/
115115
UpgradeLog*.XML
116+
/.vs/

KdTreeLib/KdTreeLib.csproj

Lines changed: 21 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,25 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{68C8066D-7844-41C2-993D-3160798164D1}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>KdTree</RootNamespace>
11-
<AssemblyName>KdTreeLib</AssemblyName>
12-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
4+
<TargetFrameworks>net45;net451;net452;net46;net461;net462;net47;net471;netstandard2.0;netcoreapp2.0</TargetFrameworks>
5+
<Authors>codeandcats@gmail.com</Authors>
6+
<Company>codeandcats@gmail.com</Company>
7+
<PackageId>KdTree.Net</PackageId>
8+
<NoPackageAnalysis>true</NoPackageAnalysis>
9+
<Product>KdTree</Product>
10+
<Copyright>Copyright codeandcats@gmail.com 2013</Copyright>
11+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
12+
<PackageLicenseUrl>https://raw.github.com/codeandcats/KdTree/master/LICENSE</PackageLicenseUrl>
13+
<PackageProjectUrl>https://github.com/codeandcats/KdTree</PackageProjectUrl>
14+
<PackageTags>kdtree kd-tree binary search tree bst spatial</PackageTags>
15+
<PackageReleaseNotes>* Added netcore and netstandard support</PackageReleaseNotes>
16+
<Description>Generic multi-dimensional binary search tree.</Description>
17+
<PackageIconUrl>https://raw.githubusercontent.com/codeandcats/KdTree/master/Images/kdtree.png</PackageIconUrl>
18+
<Version>1.4.0</Version>
19+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1420
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<DebugSymbols>true</DebugSymbols>
17-
<DebugType>full</DebugType>
18-
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
20-
<DefineConstants>DEBUG;TRACE</DefineConstants>
21-
<ErrorReport>prompt</ErrorReport>
22-
<WarningLevel>4</WarningLevel>
21+
22+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
23+
<DefineConstants>TRACE;RELEASE;NETSTANDARD2_0</DefineConstants>
2324
</PropertyGroup>
24-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25-
<DebugType>pdbonly</DebugType>
26-
<Optimize>true</Optimize>
27-
<OutputPath>bin\Release\</OutputPath>
28-
<DefineConstants>TRACE</DefineConstants>
29-
<ErrorReport>prompt</ErrorReport>
30-
<WarningLevel>4</WarningLevel>
31-
</PropertyGroup>
32-
<ItemGroup>
33-
<Reference Include="System" />
34-
<Reference Include="System.Core" />
35-
<Reference Include="System.Xml.Linq" />
36-
<Reference Include="System.Data.DataSetExtensions" />
37-
<Reference Include="Microsoft.CSharp" />
38-
<Reference Include="System.Data" />
39-
<Reference Include="System.Xml" />
40-
</ItemGroup>
41-
<ItemGroup>
42-
<Compile Include="HyperRect.cs" />
43-
<Compile Include="IPriorityQueue.cs" />
44-
<Compile Include="Math\DoubleMath.cs" />
45-
<Compile Include="Math\FloatMath.cs" />
46-
<Compile Include="Math\GeoMath.cs" />
47-
<Compile Include="Math\GeoUtils.cs" />
48-
<Compile Include="Math\ITypeMath.cs" />
49-
<Compile Include="IKdTree.cs" />
50-
<Compile Include="KdTree.cs" />
51-
<Compile Include="KdTreeNode.cs" />
52-
<Compile Include="Math\TypeMath.cs" />
53-
<Compile Include="NearestNeighbourList.cs" />
54-
<Compile Include="PriorityQueue.cs" />
55-
<Compile Include="Properties\AssemblyInfo.cs" />
56-
</ItemGroup>
57-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
58-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
59-
Other similar extension points exist, see Microsoft.Common.targets.
60-
<Target Name="BeforeBuild">
61-
</Target>
62-
<Target Name="AfterBuild">
63-
</Target>
64-
-->
6525
</Project>

KdTreeLib/PriorityQueue2.cs

Lines changed: 0 additions & 148 deletions
This file was deleted.

KdTreeLib/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)