Skip to content

2.0.0 preview Module loading error (pb loading netstandard, Version=2.0.0.0) #864

Open
@XPlantefeve

Description

@XPlantefeve

Description

When trying to launch the PowerShell preview 2.0.0 in VSCode, I've got an error that I was able to pin down to the importation of the PowerShellEditorServices module. When trying to load the module by itself, there is three Add-Type errors. When trying those Add-Type manually, I've got the same errors that say Unable to load one or more of the requested types. I checked the LoaderException objects, and it seems to boil down to that message:

{System.IO.FileNotFoundException: 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.

Files attached

EditorServices-reportlogs.zip contains:

  • vscode-powershell.log
  • Start-EditorServices-EditorServices.log (log level: diagnostic)
  • Import-Module.log (manual module importation, verbose)
  • LoaderException.txt (random loader exception among loads of identical ones)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions