I've developed a snap develop dll and tested the dll within snap develop by creating console application to call the dll. This all works fine so I know I'm on the right track. I then use the dll importer tool and import in to PB 2019 R3, all is well and I can see the functions that I want to call.
I run the application and call the functions and I receive the following - 'Error Text: Error calling external object function getportalusercore (System.DirectoryServices.AccountManagement is not supported on this platform.) at line 21 in function of_getportalusercore of object nvo_domainaccess'.
Target framework is .net core 3.1, system.directoryservices.accountmanagement is 4.7.0, this all works within Snap Develop and only errors within Powerbuilder what am I doing wrong or am I missing something.