PowerShell / PowerShell/PowerShellEditorServices
2.0.0 preview Module loading error (pb loading netstandard, Version=2.0.0.0)
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 1
説明
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)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず LoaderException.txt と EditorServices-reportlogs.zip 内の診断ログを読み、次に VSCode preview 2.0.0 からの PowerShellEditorServices のインポート失敗を再現します。netstandard アセンブリの読み込み失敗を追跡します。モジュールがインポートされ、報告された Add-Type エラーなしで VSCode が起動すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100