0

I have a console application with .NET Core and need to use the dll's from Sage which depends on .NET framework. I need following:

enter image description here

Actually it can compile and run through, but then I get following error while creation a session and mandant:

Could not load type 'System.Security.Principal.WindowsImpersonationContext' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

I already tried to add mscorlib via add reference in VS, but didn't work.

Any ideas? I really don't want to go back to .NET framework with my projct just to use the sage dll's ;-)

Samuel Lelièvre
  • 3,212
  • 1
  • 14
  • 27
everydayXpert
  • 785
  • 2
  • 11
  • 27

0 Answers0