We are migrating an ArcObjects .NET SDK SOE (ArcGIS Server 10.9.1) to the ArcGIS Enterprise SDK (ArcGIS Server 11.3). The migrated code compiles with the Enterprise SDK and .NET 8, however, the majority of our extensive suite of unit tests do not work. The error we see when attempting to create an Esri object is: "Retrieving the COM class factory for component with CLSID ... Class not registered...". In ArcObjects this indicated a license issue.
I came across this issue on github stating the AoInitialize is no longer supported in Enterprise:
https://github.com/Esri/arcgis-enterprise-sdk-resources/issues/24
If this is the case, this is a significant limitation in the Enterprise SDK. Are there any workarounds or alternatives that will allow locally debugging and validating software written for the Enterprise SDK?