Solver Foundation with net5

658 Views Asked by At

Actually I´m working with a project based on Net Core 5.0 (preview).

I need to use Solver Foundation but, as the Solver is based on .Net Framework (where it´s working well), does not want to work.

When I try to initialize it with:

var solver = SolverContext.GetContext();

I get following error:

System.TypeLoadException: 'Could not load type 'System.Runtime.Remoting.Messaging.CallContext' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'

Some body can suggest a workaround ?

Thank you in advance,

Piercarlo

0

There are 0 best solutions below