paulyoder / LinqToExcel

Use LINQ to retrieve data from spreadsheets and csv files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NetCore 3.1 support?

MagicAndre1981 opened this issue · comments

Is it possible to get .Net Standard 2.x support? This would fix my NU1701 warning:

warning NU1701: Package 'LinqToExcel 2.0.0-PRERELEASE-2' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

ok, .net standard doesn't have OleDb support. So direct .NetCore 3.1 support is needed.

Interesting, Oledb wasn't supported in .Net Core before... I'll have to look into it.

ok, System.Data.OleDb package supports .net standard 2.0 and 3.1, but I have no idea how to test it. nunit console only has a beta to test .net core, but this fails.

In my application it looks like it works to load the Excel file and query data.

I tried to implement it with #188 @mrworkman

I gave it up now. I switched to ExcelMapper which is based on a pure managed excel reading library which is an advantage over LinqToExcel so that it doesn't require Office runtimes.

I gave it up now. I switched to ExcelMapper which is based on a pure managed excel reading library which is an advantage over LinqToExcel so that it doesn't require Office runtimes.

Thanks man, that helped a lot and the libraries work in a very similar way :)