Missing System.Numerics.Vectors, Version=4.1.4.0
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 993
- Avg merge
- 9d 21h
- Merged PRs (30d)
- 1
Description
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()
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Renci.SshNet.Security.Cryptography.Ciphers.AesCipher.CtrImpl.ArrayXOR in the stack trace and reproduce the failure under .NET Standard 2.0 or .NET Framework 4.7, comparing it with .NET 6.0. Check how System.Numerics.Vectors version 4.1.4.0 is resolved from the 4.5.0 package; done means the reported scenarios no longer raise FileNotFoundException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100