NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

GAC usage under TestStand 2024

Hi everyone,

I get the following message if i call one of my DLLs:

sneb898_0-1732799993957.png
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?

0 Kudos
Message 1 of 5
(76 Views)

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

0 Kudos
Message 2 of 5
(59 Views)

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.

0 Kudos
Message 3 of 5
(55 Views)

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.

0 Kudos
Message 4 of 5
(23 Views)

Okay, after I linked this .dll in my dll, i get this message:

sneb898_0-1733131884529.png

Unfortunately i can't find the related .dll and there is also no explicit reference in my top level dll.

 

0 Kudos
Message 5 of 5
(17 Views)