I am converting a C# net461 based library to netstandard2. Some of the dependencies of the library support at most net461. Visual Studio shows the following warning for those dependencies:
Warning NU1701 Package 'IKVM v8.1.5717' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.
Is there anyway to incorporate those dependencies and successfully port to netstandard2?
I've looked around and tried the Microsoft.Windows.Compatibility nuget. After adding it as a further dependency to the new netstandard2 library project, the warnings are still there and the build output at 'bin/debug/netstadard2' does not contain the dlls of the nuget dependencies. As expected when trying the consume the library from another project, I get runtime exceptions for missing DLLs of the net461 dependencies of the netstandard2 library.