Skip to content

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

@baltmann

Description

@baltmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions