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

Warning: NETSDK1206: Found version-specific or distribution-specific runtime identifier(s) #1

Open
mpdunlop opened this issue Nov 28, 2024 · 1 comment

Comments

@mpdunlop
Copy link

mpdunlop commented Nov 28, 2024

I am getting Warning NETSDK1206 when building my application that depends on FreeSpire.XLS.XLS:

Found version-specific or distribution-specific runtime identifier(s): tizen-armel, tizen-x86. Affected libraries: SkiaSharp. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.

Based on the warning, and the information from NuGet Package Manager, I can see that FreeSpire.XLS.XLS is the package referencing SkiaSharp:

Screenshot

Microsoft's advice is to contact the package authors to request switching the package to use only portable RIDs. Is this something that can be considered for a future release?

@mpdunlop
Copy link
Author

I should have mentioned that Spire.XLS uses SkiaSharp version 1.68.0 and the latest release is 2.88.9. Updating to a more recent release may resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant