Skip to content

[BUG] Strong-naming support lost due to OpenTK.GLWpfControl reference #3379

@ChristianRadloff

Description

@ChristianRadloff

Description

SkiaSharp.Views.WPF has a PackageReference to OpenTK.GLWpfControl version 3.3.0 for .NET Framework:

<PackageReference Include="OpenTK.GLWpfControl" Version="3.3.0" NoWarn="NU1701" />

In version 3.3.0, the GLWpfControl assembly is not strong-named.
As a result, I cannot use this library in my strong-named application, since all dependencies must also be strong-named.

Strong-naming was added in OpenTK.GLWpfControl 3.3.1.
Could you please release a version of SkiaSharp.Views.WPF with an updated reference to OpenTK.GLWpfControl 3.3.1 or later?

Code

Example App csproj:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net48</TargetFramework>    
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>MyStrongNameKey.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="SkiaSharp.Views.WPF" Version="3.119.1" />
  </ItemGroup>

</Project>

Expected Behavior

No response

Actual Behavior

No response

Version of SkiaSharp

3.116.0 (Current)

Last Known Good Version of SkiaSharp

2.88.9 (Previous)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Windows

Platform / Operating System Version

No response

Devices

No response

Relevant Screenshots

No response

Relevant Log Output

System.IO.FileLoadException: 'Could not load file or assembly 'GLWpfControl, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)'

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions