Skip to content

Missing System.Numerics.Vectors, Version=4.1.4.0 #1773

@MatteoDelOmbra

Description

@MatteoDelOmbra

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions