-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made NumSharp.csproj, NumSharp.Benchmark.csproj, and NumSharp.UnitTest.csproj use the same settings. This is in preparation for Span<T>. Fixed a warning in NdArray with GetHashCode.
- Loading branch information
Showing
6 changed files
with
158 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,62 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0</TargetFrameworks> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<Authors>Haiping Chen</Authors> | ||
<Description>NumPy port in C#</Description> | ||
<PackageProjectUrl>https://github.com/Oceania2018/NumSharp</PackageProjectUrl> | ||
<Copyright>Apache 2.0</Copyright> | ||
<RepositoryUrl>https://github.com/Oceania2018/NumSharp</RepositoryUrl> | ||
<PackageReleaseNotes>Implemented arange, reshape, max, min, normalize.</PackageReleaseNotes> | ||
<AssemblyVersion>0.1.0.0</AssemblyVersion> | ||
<FileVersion>0.1.0.0</FileVersion> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>NumPy, NumSharp, MachineLearning, Math, Scientific, Numeric</PackageTags> | ||
<Version>0.1.0</Version> | ||
<PackageLicenseUrl>https://raw.githubusercontent.com/Oceania2018/NumSharp/master/LICENSE</PackageLicenseUrl> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'"> | ||
<RuntimeIdentifier>win-x86</RuntimeIdentifier> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^net\d'))"> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp2.1</TargetFrameworks> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<Authors>Haiping Chen, Christian Kahr, Darren Schroeder</Authors> | ||
<Description>NumPy port in C#</Description> | ||
<PackageProjectUrl>https://github.com/Oceania2018/NumSharp</PackageProjectUrl> | ||
<Copyright>Apache 2.0</Copyright> | ||
<RepositoryUrl>https://github.com/Oceania2018/NumSharp</RepositoryUrl> | ||
<PackageReleaseNotes>Implemented arange, reshape, max, min, normalize.</PackageReleaseNotes> | ||
<AssemblyVersion>0.1.0.0</AssemblyVersion> | ||
<FileVersion>0.1.0.0</FileVersion> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageTags>NumPy, NumSharp, MachineLearning, Math, Scientific, Numeric</PackageTags> | ||
<Version>0.1.0</Version> | ||
<PackageLicenseUrl>https://raw.githubusercontent.com/Oceania2018/NumSharp/master/LICENSE</PackageLicenseUrl> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^net\d'))"> | ||
<DefineConstants>NETFRAMEWORK</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^netstandard\d'))"> | ||
<RuntimeIdentifier>win-x86</RuntimeIdentifier> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^netstandard\d'))"> | ||
<DefineConstants>NETSTANDARD</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^netcoreapp\d'))"> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^netcoreapp\d'))"> | ||
<DefineConstants>NETCORE</DefineConstants> | ||
</PropertyGroup> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^net\d'))"> | ||
<PackageReference Include="System.Drawing" Version="4.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^netstandard\d'))"> | ||
<PackageReference Include="System.Drawing.Common" Version="4.5.1" /> | ||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(TargetFramework)', '^netcoreapp\d'))"> | ||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="2.0.1" /> | ||
<PackageReference Include="System.Drawing.Common" Version="4.5.1" /> | ||
<PackageReference Include="System.Memory" Version="4.5.1" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" /> | ||
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" /> | ||
<PackageReference Include="System.Drawing.Common" Version="4.5.1" /> | ||
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" /> | ||
</ItemGroup> | ||
<Target Name="LogDebugInfo"> | ||
<Message Text="Building for $(TargetFramework) on $(OS)" Importance="High" /> | ||
</Target> | ||
|
||
</Project> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d1bed10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just include System.Memory package, we can keep using netstandard2.0