Browse Source

Downgrade Unsafe package [test]

af/merge-core
Jason Nelson 8 years ago
parent
commit
8b85609320
  1. 4
      src/ImageSharp/ImageSharp.csproj
  2. 13
      tests/ImageSharp.Tests/Drawing/Text/DrawTextOnImageTests.cs
  3. 4
      tests/ImageSharp.Tests/ImageSharp.Tests.csproj

4
src/ImageSharp/ImageSharp.csproj

@ -47,6 +47,10 @@
<PackageReference Include="System.Memory" Version="4.5.0" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1'">
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.4.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.1' OR '$(TargetFramework)' == 'netstandard1.3'">
<PackageReference Include="System.IO.Compression" Version="4.3.0" />

13
tests/ImageSharp.Tests/Drawing/Text/DrawTextOnImageTests.cs

@ -1,25 +1,20 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
using System;
using System.Linq;
using System.Text;
using SixLabors.Fonts;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Drawing;
using SixLabors.ImageSharp.Processing.Text;
using SixLabors.Primitives;
using Xunit;
// ReSharper disable InconsistentNaming
namespace SixLabors.ImageSharp.Tests.Drawing.Text
{
using System;
using System.Linq;
using System.Text;
using SixLabors.Primitives;
[GroupOutput("Drawing/Text")]
public class DrawTextOnImageTests
{

4
tests/ImageSharp.Tests/ImageSharp.Tests.csproj

@ -25,10 +25,6 @@
<ItemGroup>
<None Include="PixelFormats\PixelOperationsTests.Blender.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0'">
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />

Loading…
Cancel
Save