Replies: 1 comment
-
What do your binding redirects look like? Are they on the main program, or the plugin? Not an expert on this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, Would someone be able to help me resolve this issue? I am targeting a project (plugin dll) with .NET Framework 4.8.
My main program is now on the latest version of Microsoft.Extensions.Logging.Abstractions which is 9.0.9.
When I attempt to use the SSH.NET library, I get the following error:
Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.3, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified. at Renci.SshNet.ServiceFactory..ctor()
However, nuGet and all the relevant documentation says that 8.0.0.3 is only the minimum version required by SSH.NET,
so why would this happen?
If I use a binding redirect, I get this compile warning and it still causes an error
warning MSB3277: "Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.3, Culture=neutral, PublicKeyToken=adb9793829ddae60" was chosen because it was primary and "Microsoft.Extensions.Logging.Abstractions, Version=9.0.0.9, Culture=neutral, PublicKeyToken=adb9793829ddae60" was not.
Thank you so much. this library is great!
Beta Was this translation helpful? Give feedback.
All reactions