We ran into this issue as well, what worked for us was to make sure that the RID (Runtime Identifier) was set to win-x64
(or win-x32
). However our stack was entirely .NET Core/Standard
In your case it is not generally possible to load a .NET Framework dll into the .NET Core runtime as the underlying changes are not backwards compatible. So even if you are able to get it to load you will likely run into runtime exceptions or process crashes/failures.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…