Skip to content

Errors on build - remove Avalonia from CSharpMath.Xaml.Tests and delete CSharpMath.Apple? #231

Open
@charlesroddie

Description

@charlesroddie

Test failures:

Error: Test.cs(16,9): error CS0012: The type 'Color' is defined in an assembly that is not referenced. You must add a reference to assembly 'Avalonia.Visuals, Version=0.10.0.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Xaml.Tests.NuGet/CSharpMath.Xaml.Tests.NuGet.csproj]

Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/Resources/ManifestResources.cs(17,13): error CS8602: Dereference of a possibly null reference. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(25,27): error CS8604: Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(29,7): error CS8604: Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(50,7): error CS8604: Possible null reference argument for parameter 'value' in 'short Extensions.Value<short>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(52,7): error CS8604: Possible null reference argument for parameter 'value' in 'short Extensions.Value<short>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(126,7): error CS8604: Possible null reference argument for parameter 'value' in 'short Extensions.Value<short>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(143,38): error CS8604: Possible null reference argument for parameter 'value' in 'string? Extensions.Value<string>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(143,38): error CS8604: Possible null reference argument for parameter 'glyphName' in 'TGlyph IGlyphNameProvider<TGlyph>.GetGlyph(string glyphName)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(144,31): error CS8604: Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(145,31): error CS8604: Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(146,31): error CS8604: Possible null reference argument for parameter 'value' in 'int Extensions.Value<int>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(147,11): error CS8604: Possible null reference argument for parameter 'value' in 'bool Extensions.Value<bool>(IEnumerable<JToken> value)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(155,37): error CS8604: Possible null reference argument for parameter 'variants' in '(IEnumerable<TGlyph> variants, int count) JsonMathTable<TFont, TGlyph>.GetVariantsForGlyph(TGlyph rawGlyph, JToken variants)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(157,37): error CS8604: Possible null reference argument for parameter 'variants' in '(IEnumerable<TGlyph> variants, int count) JsonMathTable<TFont, TGlyph>.GetVariantsForGlyph(TGlyph rawGlyph, JToken variants)'. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(175,11): error CS8602: Dereference of a possibly null reference. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]
Error: /home/runner/work/CSharpMath/CSharpMath/CSharpMath.Apple/BackEnd/JsonMathTable.cs(211,23): error CS8602: Dereference of a possibly null reference. [/home/runner/work/CSharpMath/CSharpMath/CSharpMath.Editor.Tests/CSharpMath.Editor.Tests.csproj]

I suggest deleting CSharpMath.Xaml.Tests and removing Avalonia from CSharpMath.Apple unless anyone wants to maintain those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status/0. NewThis issue is new and is awaiting confirmation from the maintainers.Type/Bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions