Deploying .NET Code Modules with TSM Test Programs
- Updated2025-07-31
- 1 minute(s) read
NI recommends that you do not include the TSM Code Module API assembly (NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.dll) or any referenced NI hardware assemblies in a test program deployment. Instead, use TSM or corresponding driver installer to install these components as part of the system configuration to help ensure a stable test system configuration.
If you need to debug a test program on a production system, NI recommends that you create separate release and debug deployments. In the debug deployment, include the code module assembly built with a debug configuration and the program database file (<assembly_name>.pdb file) that contains the debug symbols for the assembly. NI recommends debug versions of the assemblies only for debugging, not for production testing, because the debug versions negatively affect performance and use more memory.