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

[docs] Visual Studio publishing and <RuntimeIdentifiers> #599

Closed
MV10 opened this issue Jul 30, 2018 · 1 comment
Closed

[docs] Visual Studio publishing and <RuntimeIdentifiers> #599

MV10 opened this issue Jul 30, 2018 · 1 comment
Milestone

Comments

@MV10
Copy link

MV10 commented Jul 30, 2018

This is a documentation/readme suggestion based on AvaloniaUI/Avalonia#1665 (comment)

The SkiaSharp NuGet package offers runtime versions such as win7-x64 and win10-x64, but by default Visual Studio 2017's Publish options only list fallback runtime identifiers such as win-x64. The result is a missing libSkiaSharp.dll and the Unable to load DLL exception.

The solution is simple but not necessarily obvious: add a <RuntimeIdentifiers> node to the csproj, which expands the available RIDs in the VS Publish dialog.

I'm suggesting this and the specific available runtime versions should be documented, especially given that the readme mentions the same exception but attributes it to a different problem, which could be misleading and confusing.

@mattleibow mattleibow added this to the v1.67.0-preview milestone Aug 15, 2018
mattleibow added a commit that referenced this issue Aug 15, 2018
 - Windows 7 is the minimum version anyway, so this does not really matter
@mattleibow
Copy link
Contributor

Thanks for pointing this out. I updated the RID and should be in the next major release.

@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants