03-23-2012 04:10 PM - edited 03-23-2012 04:13 PM
Hi, all,
I have been trying to create a small demo using the .NET adapter. When I add a .NET action, I'm able to select the assembly without problems, but the Class dropdown does not have the class that was built. I've looked at the DLL and verified that the class I want is there.
The "computer" demo works normally and does have the Class dropdown populated. I can't figure out what the difference could be.
TestStand 4.2.1.83, Visual Studio Express 10.0.30319.1.
Does anyone know how to diagnose this issue?
Thanks,
- Steve.
Solved! Go to Solution.
03-23-2012 05:05 PM
Another datapoint: I loaded the "Computer" example project and rebuilt it. The rebuild apparently damaged the DLL in the same way.
Regards, -S.
03-24-2012 10:17 AM - edited 03-24-2012 10:20 AM
Are you perhaps building .NET 4.0 dlls?
TestStand 4.2 does not support the .NET 4.0 clr. You will either need to compile you assembly targetting an earlier version of .NET (anything from 2.0 to 3.5 should work), or you will have to use a newer version fo TestStand (TestStand 2010 supports .NET 4.0 by specifying an app.config file, it does still use .NET 2.0 by default though).
Also, make sure the class you want to see is marked as public in your assembly.
-Doug
03-26-2012 07:56 AM
That worked, Doug. Thanks! -S.