Missing System.Numerics.Vectors, Version=4.1.4.0

Aperta
#1,773 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
csharp

Direzione di ricerca

Partite da Renci.SshNet.Security.Cryptography.Ciphers.AesCipher.CtrImpl.ArrayXOR nello stack trace e riproducete il problema in .NET Standard 2.0 o .NET Framework 4.7, confrontandolo con .NET 6.0. Verificate come viene risolta System.Numerics.Vectors versione 4.1.4.0 dal pacchetto 4.5.0; il lavoro è completato quando gli scenari segnalati non generano più FileNotFoundException.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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()
Lingua principale
C#
Stelle
4.4k
Fork
993
Merge medio
9g 21h
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sshnet/SSH.NET

Tutte le issue di sshnet/SSH.NET

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.