We have a dll compiled targeting .NET 6.0 and imported using .NET DLL Importer.
In the same Windows Server 2019 we have installed Runtime 22.1.0.2819 and Runtime 22.2.0.3356.
The application compiled using autobuild works as intended using 22.1.0.2819 but the application using 22.2.0.3356 gives this error:
Load HISAuth.dll failed.
Error Number: -1.
Do we need to install something in the server for the new runtime?