microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.62k stars 709 forks source link

Cannot load EncryptionParameters in example #628

Closed PiepsC closed 1 year ago

PiepsC commented 1 year ago

Downloaded the nuget package, added it as dependency to my project. Build runs fine, but whenever I run the resulting executable I get a TypeLoadError in my first instantiation of an object: System.TypeLoadException: Could not load type 'Microsoft.Research.SEAL.EncryptionParameters' from assembly 'SEALNET, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Issue seems somewhat similar to #118.

Using .NET 7.0

PiepsC commented 1 year ago

Rebuild the project with .NET 6.0 and it worked fine.