eiceblue / Spire.XLS-for-.NET

Spire.XLS for .NET offers an object model Excel API for speeding up Excel programming in .NET platform - create new Excel documents from template, edit existing Excel documents and convert Excel files.
https://www.e-iceblue.com/Introduce/excel-for-net-introduce.html
30 stars 11 forks source link

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

Open mpdunlop opened 4 days ago

mpdunlop commented 4 days ago

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 commented 4 days ago

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.