Using .NET Assemblies with LabVIEW
- Updated2025-04-01
- 1 minute(s) read
An assembly is a unit of deployment similar to a DLL, OCX, or executable for a component in COM. Assemblies are DLLs and executables you build using a .NET compiler. Assemblies can consist of a single file or multiple files. An assembly includes a manifest that contains information about the assembly name, version, publisher security, files that make up the assembly, dependent assemblies, resources, and exported data types. Single-file assemblies contain all the data in a single file, including the manifest and any resources it needs. Multi-file assemblies might have external resources, such as bitmaps, icons, and sound files, or have one file for the core code and another for helper libraries.
Assemblies can be public or private. Private assemblies are usually located in the same directory as the application. With .NET Framework, public assemblies are located in the Global Assembly Cache (GAC). The developer of an application typically writes private assemblies for use by that application. The developer of the assembly also decides the version of the assembly. The assembly name is the filename, minus any file extension, of the file that contains the manifest.
For .NET Framework, the Common Language Runtime (CLR) uses configuration settings to determine the assembly version to load for an application. These configuration settings might override your request for a specific assembly version. For example, the system administrator can configure your computer to load version 1.0.0.1 instead of 1.0.0.0. If you then try to load version 1.0.0.0, the CLR promotes the assembly version to 1.0.0.1. LabVIEW also notifies you of the promotion.