runtime icon indicating copy to clipboard operation
runtime copied to clipboard

SpreadsheetLight not restored against correct framework

Open Bridgeway opened this issue 8 years ago • 2 comments

I'm trying to use the package manager console in VS 2017 to install SpreadsheetLight 3.4.9 to my web api .net core 2.1 project, but I get a yellow triangle on NuGet node in Solution Explorer and this message:

Package 'SpreadsheetLight 3.4.9' was restored using '.NETFramework, Version =v4.6.1' instead of the project target framework '.NETCoreApp, Version=v2.1'. This package may not be fully compatible with your project.

Bridgeway avatar Jun 20 '18 11:06 Bridgeway

The SpreadsheetLight package does not support .Net Core. It's possible that it will still work, if it doesn't use any APIs that are .Net Framework only, which is why you're getting a warning, not an error.

Though looking at the package, you might also need to manually install DocumentFormat.OpenXml.

svick avatar Jun 20 '18 15:06 svick

Answered & not CoreFX related, closing.

karelz avatar Jun 21 '18 15:06 karelz