yellowfeather / DbfDataReader

DbfDataReader is a small fast .Net Core library for reading dBase, xBase, Clipper and FoxPro database files
MIT License
134 stars 61 forks source link

Could not detect any platforms from '.NETStandard1.6.1' in DbfDataReader 0.5.2 #48

Closed HightowerCZ closed 3 years ago

HightowerCZ commented 4 years ago

Hi after installing DbfDataReader from console, there is an error: Could not detect any platforms from '.NETStandard1.6.1' in DbfDataReader 0.5.2, please tell the package authors.

Our project is a console application .Net Core 3.1.

Jakub

chrisrichards commented 4 years ago

Can you share an example project? There is a console app dbf that is currently netcoreapp2.0 but I've just updated it locally to netcoreapp3.1 and it builds fine.

Swoorup commented 4 years ago

I am getting the same warning as well.

Could not detect any platforms from 'netstandard1.6.1' in '/home/sjoshi/.nuget/packages/dbfdatareader/0.5.4/lib/netstandard1.6.1/DbfDataReader.dll', please tell the package authors

Fairly certain as netstandard1.6.1 is not a valid platform. I believe changing this line in https://github.com/yellowfeather/DbfDataReader/blob/master/src/DbfDataReader/DbfDataReader.csproj#L8 to <TargetFrameworks>net452;netstandard1.6</TargetFrameworks> will fix the issue

Also this is just a warning, not an error that halts the build.

chrisrichards commented 3 years ago

Thanks, I've bumped the target framework to netstandard2.0