Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load Renci.SshNet.dll or one of its dependencies. #7

Open
baltmann opened this issue Apr 19, 2022 · 0 comments
Open

Could not load Renci.SshNet.dll or one of its dependencies. #7

baltmann opened this issue Apr 19, 2022 · 0 comments

Comments

@baltmann
Copy link

Trying to run SSHSessions.Tests.ps1.

PS C:\Users\billra> Import-Module -Name SSHSessions
Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\SSHSessions\Renci.SshNet.dll'
or one of its dependencies. The system cannot find the file specified.
At line:1 char:1

  • Import-Module -Name SSHSessions
  •   + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
      + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
    

PS C:\Program Files\WindowsPowerShell\Modules\SSHSessions> dir

Directory: C:\Program Files\WindowsPowerShell\Modules\SSHSessions

Mode LastWriteTime Length Name


-a---- 2018-02-28 10:12 408064 Renci.SshNet.dll
-a---- 2018-02-28 10:12 6183 SSHSessions.psd1
-a---- 2018-02-28 10:12 25166 SSHSessions.psm1

PS C:\Program Files\WindowsPowerShell\Modules\SSHSessions>

On Microsoft Windows [Version 10.0.19044.1645]
and .Net
Welcome to .NET 6.0!

SDK Version: 6.0.202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant