retarget to .net standard 2.0

drone
thatcosmonaut 2019-12-16 10:30:59 -08:00
parent f54a0cf027
commit cb7e840bc1
2 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@ using System.Numerics;
namespace MoonTools.Core.Structs namespace MoonTools.Core.Structs
{ {
public struct Position2D : System.IEquatable<Position2D> public struct Position2D : IEquatable<Position2D>
{ {
private Vector2 remainder; private Vector2 remainder;
@ -179,4 +179,4 @@ namespace MoonTools.Core.Structs
return !(a == b); return !(a == b);
} }
} }
} }

View File

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework> <TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>MoonTools.Core.Structs</RootNamespace> <RootNamespace>MoonTools.Core.Structs</RootNamespace>
<PackageId>MoonTools.Core.Structs</PackageId> <PackageId>MoonTools.Core.Structs</PackageId>
<Version>2.0.0</Version> <Version>2.0.0</Version>
@ -14,4 +14,7 @@
<PackageProjectUrl>https://github.com/MoonsideGames/MoonTools.Core.Structs</PackageProjectUrl> <PackageProjectUrl>https://github.com/MoonsideGames/MoonTools.Core.Structs</PackageProjectUrl>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression> <PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0"/>
</ItemGroup>
</Project> </Project>