question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import-Module : Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

See original GitHub issue

I have a Windows Server 2016 server that doesn’t have access to the Internet. Hence, I manually copied the latest Posh-SSH module folder (and all respective contents); and, placed it under the below folder: C:\Program Files\WindowsPowerShell\Modules

When I try to import the module, I get the below error message:

Posh-SSH-Module

What’s the quickest/easiest way to import the module on this server? PS: The same thing happens if I copy it to any other modules folders in the Modules paths.

Do I need to install a specific version of the .NET Framework Runtime?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
darkoperatorcommented, Oct 11, 2022

I see it can be replicated with windows 2016 running PS 5.1

0reactions
mkanetcommented, Apr 7, 2022

I just installed version 4.8. It resolved the issue. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Could not load file or assembly 'netstandard, Version=2.0. ...
The netstandard.dll you are trying to load is a reference assembly that which cannot be loaded for runtime on .NET Framework as pointed...
Read more >
'Could not load file or assembly 'netstandard, Version=2.0. ...
Hi Guys, I am having issue creating a extension package, I tried all the workaround suggested ... The system cannot find the file...
Read more >
Could Not Load File Or Assembly 'System.Runtime, ...
NET standard v2.0) I have to give reference of ClassLibrary2 in ClassLibrary1. ... The system cannot find the file specified.":"System.
Read more >
How to fix error Could not load file or assembly - YouTube
Your browser can't play this video. Learn more.
Read more >
System.Configuration.ConfigurationManager 7.0.0
Provides types that support using configuration files. Commonly Used Types: System.Configuration.Configuration System.Configuration.ConfigurationManager.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found