Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileLoadException (LiveChartsCore version 5.0) #1767

Closed
MINT-KISS opened this issue Jan 14, 2025 · 2 comments
Closed

FileLoadException (LiveChartsCore version 5.0) #1767

MINT-KISS opened this issue Jan 14, 2025 · 2 comments
Labels
requires external features We can not fix this for now, we need a feature that is out of this library.

Comments

@MINT-KISS
Copy link

Describe the bug
This happens both on a completely clean project and on a version that worked with version 4.5
on startup it gives an error

  • $exception {“Failed to load file or assembly \”GLWpfControl, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null\” or one of their dependencies. An assembly with a strict name is required. (HRESULT exception: 0x80131044)": ‘GLWpfControl, Version=3.3.3.0.0, Culture=neutral, PublicKeyToken=null’} System.IO.FileLoadException

To Reproduce
Steps to reproduce the behavior:

  1. Create new WPF App .Net Framework 4.8 or open an existing one
  2. Add CartesianChart in .xaml (LiveChartsCore.SkiaSharpView.WPF 2.0.0-rc5)
  3. Run App
  4. See error
    GLWpfControl is in the build folder, I don't understand why the problem occurs

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser [e.g. chrome, safari]
  • Version 23H2

Additional context
WPF App, .Net Framework 4.8

@MINT-KISS MINT-KISS changed the title Failed to load GLWpfControl on version 5.0 FileLoadException (LiveChartsCore version 5.0) Jan 14, 2025
@beto-rodriguez
Copy link
Owner

beto-rodriguez commented Jan 15, 2025

Related to mono/SkiaSharp#3111, I think I'll release a new version that does not references this bugged version of SkiaSharp, the issue only happens on Net framework.

@beto-rodriguez beto-rodriguez added the requires external features We can not fix this for now, we need a feature that is out of this library. label Jan 15, 2025
beto-rodriguez added a commit that referenced this issue Jan 16, 2025
beto-rodriguez added a commit that referenced this issue Jan 16, 2025
@beto-rodriguez
Copy link
Owner

fixed on 2.0.0-rc5.1 thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires external features We can not fix this for now, we need a feature that is out of this library.
Projects
None yet
Development

No branches or pull requests

2 participants