

Hello AnthonyMcKay ,
PI SDK is deprecated as Developer Technology. You should really be using AF SDK for recent projects.
Hi Gregor, from the image in the original post, I would say he is using AF SDK.
Good eyes Rick! I feel like you would be a great addition to AVEVA!
Hi Rick_Davin_3.0 ,
good catch! I wasn't sure as the error indicates the exception occurs in PISDKRegistry.dll, indicating the failing component is PI SDK. Might be that Anthony was using the legacy AF SDK which itself is based on PI SDK. The legacy AF SDK is also not included with the recent PI AF Client setup kit and we should only use the Rich Data Access (RDA) flavor of AF SDK with recent projects. I wouldn't assume Visual Studio 2022 creating better executables compared to the compilation results delivered by Visual Studio 2019 but using a recent AF SDK really makes a difference.
Hi Rick_Davin_3.0 ,
good catch! I wasn't sure as the error indicates the exception occurs in PISDKRegistry.dll, indicating the failing component is PI SDK. Might be that Anthony was using the legacy AF SDK which itself is based on PI SDK. The legacy AF SDK is also not included with the recent PI AF Client setup kit and we should only use the Rich Data Access (RDA) flavor of AF SDK with recent projects. I wouldn't assume Visual Studio 2022 creating better executables compared to the compilation results delivered by Visual Studio 2019 but using a recent AF SDK really makes a difference.