was restored using ‘.NETFramework,Version=v4.6.1’ instead of the project target framework ‘
I ran into this issue as well. In my case, when the DLL was packaged and placed in the lib/ folder, the import warning occurred. It was solved by placing the packaged DLL in the lib/netstandard2.0 folder.