Missing System.Numerics.Vectors, Version=4.1.4.0

オープン
#1,773 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp

調査の方向性

スタックトレースの Renci.SshNet.Security.Cryptography.Ciphers.AesCipher.CtrImpl.ArrayXOR から調査を開始し、.NET Standard 2.0 または .NET Framework 4.7 で障害を再現して、.NET 6.0 と比較してください。System.Numerics.Vectors バージョン 4.1.4.0 がパッケージ 4.5.0 からどのように解決されるかを確認してください。報告されたシナリオで FileNotFoundException が発生しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

It appears that the .NET Framework fails in certain scenarios because dependencies are not resolved correctly within the .NET ecosystem. An error occurs specifically when running under .NET Standard 2.0 or .NET Framework 4.7, though it does not persist in .NET 6.0 under the same conditions.

NOTE: There is mismatch between package version and dll version in System.Numerics.Vectors - assembly 4.1.4.0 is actually in System.Numerics.Vectors version 4.5.0

Error message:

System.IO.FileNotFoundException: Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Stack Trace:

Renci.SshNet.Security.Cryptography.Ciphers.AesCipher.CtrImpl.ArrayXOR(Byte[] buffer, Byte[] data, Int32 offset, Int32 length)
   at Renci.SshNet.Security.Cryptography.Ciphers.AesCipher.CtrImpl.CTREncryptDecrypt(Byte[] data, Int32 offset, Int32 length)
   at Renci.SshNet.Session.SendMessage(Message message)
   at Renci.SshNet.Session.<ConnectAsync>d__183.MoveNext()
主要言語
C#
スター
4.4k
フォーク
993
平均マージ
9日 21時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sshnet/SSH.NET のほかの issue

sshnet/SSH.NET の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。