Can I use SEAL with .NET Framework 4.7.2?
I can use SEAL with .NET 6.0 by NuGet. But, I can't use SEAL with .NET Framework 4.7.2 by NuGet or local build.
The moment I execute the following line, I get an error.
label1.Text = SEALVersion.Version;
System.BadImageFormatException
HResult=0x8007000B
Message=Could not load file or assembly 'SEALNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source=WindowsFormsApp1
Can SEAL be used in the .NET Framework 4.x.x environment?
You should be able to build SEALNet manually/locally for .NET Framework 4.x.x. It does require you to modify the project configurations in dotnet directory.
Thank you.
I've tried the following.
In build\dotnet\src\SEALNet.csproj
From <TargetFramework>netstandard2.0</TargetFramework>
To <TargetFramework>net472</TargetFramework>
But I've got same error. (.NET 6.0 project has no error.)
System.BadImageFormatException
HResult=0x8007000B
Message=Could not load file or assembly 'SEALNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source=WindowsFormsApp2
Is something wrong?