PowerShell / PowerShell/PowerShellEditorServices
2.0.0 preview Module loading error (pb loading netstandard, Version=2.0.0.0)
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 767
- Forks
- 266
- Ø Merge
- 3 T. 16 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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)
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Lesen von LoaderException.txt und den Diagnoseprotokollen in EditorServices-reportlogs.zip und reproduziere anschließend den fehlgeschlagenen PowerShellEditorServices-Import aus VSCode preview 2.0.0. Verfolge den Fehler beim Laden der netstandard-Assembly; die Aufgabe ist abgeschlossen, wenn das Modul importiert wird und VSCode ohne die gemeldeten Add-Type-Fehler startet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, powershell
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100