Files
DP44/enriched-partialglm/Common/DTS.Common.IConnection/USBConnection/HIDUSBConnection/Properties.md
2026-04-17 14:55:32 -04:00

2.8 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
Common/DTS.Common.IConnection/USBConnection/HIDUSBConnection/Properties/AssemblyInfo.cs
2026-04-16T11:52:31.104928+00:00 zai-org/GLM-5-FP8 1 1fcf58774b015c19

Documentation: HIDUSBConnection Assembly Configuration

1. Purpose

This source file defines the assembly metadata for the USBConnection component, specifically within the DTS.Common.IConnection namespace structure. It exists to configure the manifest of the compiled .NET assembly, setting the version information, title, and COM visibility settings. Its role is strictly limited to build-time configuration; it contains no executable logic.

2. Public Interface

This file does not contain any public classes, methods, or functions. It consists entirely of assembly-level attributes used by the compiler.

Attributes Defined:

  • AssemblyTitle: Set to "USBConnection".
  • AssemblyProduct: Set to "USBConnection".
  • AssemblyCopyright: Set to "Copyright © 2008".
  • ComVisible: Set to false.
  • Guid: Set to "9127ae79-928b-4187-a425-97f49034c5ad".
  • AssemblyVersion: Set to "1.06.0081".
  • AssemblyFileVersion: Set to "1.06.0081".

3. Invariants

  • COM Visibility: The attribute [assembly: ComVisible(false)] dictates that no types within this assembly are visible to COM components by default. This must be explicitly overridden on specific types if COM interop is required.
  • Version Synchronization: The AssemblyVersion and AssemblyFileVersion are currently synchronized at "1.06.0081".
  • Identity: The assembly is identified by the GUID 9127ae79-928b-4187-a425-97f49034c5ad if exposed to COM.

4. Dependencies

  • Internal Dependencies:
    • System.Reflection
    • System.Runtime.CompilerServices
    • System.Runtime.InteropServices
  • External Dependencies: None identified from this file alone. The file is a properties file for the HIDUSBConnection project.

5. Gotchas

  • Legacy Project Format: This file uses the explicit AssemblyInfo style typical of older .NET Framework projects (pre-SDK style). If this project is migrated to a modern SDK-style .csproj format, these attributes may conflict with auto-generated values unless <GenerateAssemblyInfo>false</GenerateAssemblyInfo> is set in the project file.
  • Hardcoded Versions: The version string "1.06.0081" is hardcoded. Continuous Integration (CI) pipelines looking to inject version numbers dynamically would need to modify this file pre-build or use a different versioning strategy.
  • Empty Metadata: AssemblyDescription, AssemblyConfiguration, AssemblyCompany, and AssemblyTrademark are initialized as empty strings, which may result in missing metadata in the compiled DLL properties.