11-28-2024 07:30 AM
Hi everyone,
I get the following message if i call one of my DLLs:
It is a .net-framework dll and worked really fine under TestStand 2023. During the debugging of this error, i learned that .net(-core) doesn't support the GAC.
So I changed my top level assembly, so that all the used GAC assemblies are copied to the output folder. But the error remains.
If i create an action step to call the System.Data.Linq.dll direct, i get the message that the .dll is a 32-Bit-.dll, although i deployed the assemblie with target plattform x64.
Where do i get the x64-version of the DLL or how can i solve this error?
11-29-2024 02:59 AM
If I remember correctly, Teststand 2024 requires a minimum support of 4.8 for the. NET framework version, while your DLL appears to be 4.0 from the image. I'm not sure if this is the reason, but you can try calling a DLL version 4.8 or higher
11-29-2024 03:19 AM
Thanks for the advice.
On my PC is currently the .Net-Framework 4.8.1. installed, so hopefully the associated DLLs in the GAC should be up to date.
When i switch back to TestStand 2023, the problematic DLL works still fine.
12-01-2024 10:01 PM
I tried again and according to your idea, I found a 64 bit available DLL file in the following path and that can be TS2024 loaded normally:
C:\Windows\WinSxS\amd64_system.data.linq_b77a5c561934e089_4.0.15912.0_none_2fb64ba94278df09\system.data.linq.dll
I don't know if this meets your requirements.
12-02-2024 03:37 AM - edited 12-02-2024 03:51 AM
Okay, after I linked this .dll in my dll, i get this message:
Unfortunately i can't find the related .dll and there is also no explicit reference in my top level dll.