Skip to main content
Nintex Community Menu Bar
Solved

Workaround to call .NET6 code from .NET Framework Endpoint Assembly projects?

  • June 7, 2022
  • 1 reply
  • 403 views

I know K2 Five does not support later frameworks than .NET Core 3.something and currently with 5.3 we are stuck with .NET Framework 4.8.

 

But is there a way to get around this limitiation?

 

I have tried create a .NET Framework 4.8 with a public static method to use as my Endpoint Assembly class library and create SmartObject from method just fine.

Still, when my static method calls code inside a .NET6 class library method, then K2 throws exception "Could not load file or assembly...."

Best answer by DavidL2

How about turning your function into a web service that can be called? You would eliminate any .NET version dependencies.

1 reply

  • Nintex Employee
  • Answer
  • June 8, 2022
How about turning your function into a web service that can be called? You would eliminate any .NET version dependencies.