Skip to content

Commit a99bfb1

Browse files
author
Charles Roddie
committed
remove avalonia reference to try to fix skiasharp versioning error
1 parent 2d96954 commit a99bfb1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
33
<Compile Include="..\CSharpMath.CoreTests\_Helpers\ApproximateAssertions.cs" Link="ApproximateAssertions.cs" />
4-
<ProjectReference Include="..\CSharpMath.Avalonia\CSharpMath.Avalonia.csproj" />
54
<ProjectReference Include="..\CSharpMath.SkiaSharp\CSharpMath.SkiaSharp.csproj" />
6-
<PackageReference Include="Avalonia.Skia" Version="$(AvaloniaVersion)" />
75
</ItemGroup>
86
</Project>

CSharpMath.Rendering.Tests/TestRendering.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public TestRenderingFixture() {
1919
// Pre-initialize typefaces to speed tests up
2020
BackEnd.Fonts.GlobalTypefaces.ToString();
2121
// Needed by Avalonia tests!
22-
global::Avalonia.Skia.SkiaPlatform.Initialize();
22+
//global::Avalonia.Skia.SkiaPlatform.Initialize();
2323
}
2424
// https://www.codecogs.com/latex/eqneditor.php
2525
static string ThisFilePath([CallerFilePath] string? path = null) =>

CSharpMath.Rendering.Tests/TestRendering_Avalonia.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using AvaloniaColor = Avalonia.Media.Color;
1+
//using AvaloniaColor = Avalonia.Media.Color;
22

33
namespace CSharpMath.Rendering.Tests {
44
using System.IO;
5-
using Avalonia;
5+
//using Avalonia;
66
using FrontEnd;
77

88
#if false // Avalonia tests are failing owing to versioning issues. When Avalonia support is updated, this test should be re-enabled.

0 commit comments

Comments
 (0)