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

libSkiaSharp.dll missing when using dotnet publish #659

Closed
Ollhax opened this issue Oct 25, 2018 · 2 comments
Closed

libSkiaSharp.dll missing when using dotnet publish #659

Ollhax opened this issue Oct 25, 2018 · 2 comments

Comments

@Ollhax
Copy link

Ollhax commented Oct 25, 2018

Description

I'm using the following command to publish my program:
dotnet publish -r win-x64

When I run the resulting exe, I get this exception:
System.DllNotFoundException: Unable to load DLL 'libSkiaSharp' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Apparently it does not fetch the correct dll from the nuget package when using a portable RID. If I change to this:
dotnet publish -r win10-x64

It works just fine.

Think this is the same problem, but that issue is closed.

Basic Information

  • Version with issue: 1.60.3
  • IDE: Visual Studio
mattleibow added a commit that referenced this issue Oct 29, 2018
 - dotnet publish improvements #659
 - statically link vcredist #136
 - clang O3 optimization bug #647
@mattleibow
Copy link
Contributor

Thanks for reporting this. We have fixed this in #599 and will be going out in a release very soon: v1.68.0.

Currently, the best RID to use is win7-x64

@mattleibow
Copy link
Contributor

duplicate of #599

@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants