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 issueI 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:
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:
- Created a year ago
- Comments:8 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see it can be replicated with windows 2016 running PS 5.1
I just installed version 4.8. It resolved the issue. Thanks again!