41 lines
3.4 KiB
Markdown
41 lines
3.4 KiB
Markdown
---
|
|
source_files:
|
|
- DTS Viewer/DTS.Viewer.Reports/DTS.Viewer.PSDReport/Properties/AssemblyInfo.cs
|
|
generated_at: "2026-04-16T11:03:45.800273+00:00"
|
|
model: "zai-org/GLM-5-FP8"
|
|
schema_version: 1
|
|
sha256: "d475bf20384ac0ba"
|
|
---
|
|
|
|
# Documentation: DTS.Viewer.PSDReport Assembly Configuration
|
|
|
|
## 1. Purpose
|
|
This source file defines the assembly metadata and versioning information for the `DTS.Viewer.PSDReport` library. As a standard .NET `AssemblyInfo.cs` file, it configures the manifest embedded within the compiled DLL, specifying the assembly title, version, copyright, and COM visibility settings. It serves as the build configuration entry point for this specific reporting module within the larger DTS Viewer application.
|
|
|
|
## 2. Public Interface
|
|
This file does not contain executable classes or methods. It applies assembly-level attributes that affect the compiled output's metadata.
|
|
|
|
* **`AssemblyTitle("DTS.Viewer.PSDReport")`**: Sets the friendly name for the assembly.
|
|
* **`AssemblyProduct("DTS.Viewer.PSDReport")`**: Specifies the product name associated with the assembly.
|
|
* **`AssemblyCopyright("Copyright © 2021")`**: Defines the copyright information.
|
|
* **`ComVisible(false)`**: Indicates that types within this assembly are not visible to COM components.
|
|
* **`Guid("3d57ca12-a637-4cdb-b673-d9a5ff0cf062")`**: Specifies a unique identifier for the assembly, used if the project is exposed to COM.
|
|
* **`AssemblyVersion("1.0.0.0")`**: Sets the assembly version number (Major.Minor.Build.Revision).
|
|
* **`AssemblyFileVersion("1.0.0.0")`**: Sets the file version number displayed in the file properties.
|
|
|
|
## 3. Invariants
|
|
* **COM Visibility:** All types within this assembly are explicitly hidden from COM components (`ComVisible(false)`).
|
|
* **Versioning:** The assembly version and file version are currently fixed at `1.0.0.0`. They are not configured to auto-increment (the wildcard syntax `1.0.*` is commented out).
|
|
* **Identity:** The `Guid` `3d57ca12-a637-4cdb-b673-d9a5ff0cf062` uniquely identifies this specific assembly globally.
|
|
|
|
## 4. Dependencies
|
|
* **Internal Dependencies:**
|
|
* `System.Reflection`: Required for the assembly attribute definitions.
|
|
* `System.Runtime.CompilerServices`: Included by default in the template; not actively used for `InternalsVisibleTo` in this snippet.
|
|
* `System.Runtime.InteropServices`: Required for the `ComVisible` and `Guid` attributes.
|
|
* **External Dependencies:** None identified in this file. The project likely references other DTS modules, but those relationships are defined in the project file (`.csproj`), not here.
|
|
|
|
## 5. Gotchas
|
|
* **Static Versioning:** The version is hardcoded to `1.0.0.0`. If the build process does not externally override these values (e.g., via CI/CD pipeline parameters), all builds will report as version 1.0.0.0, making version tracking difficult.
|
|
* **Empty Metadata:** The `AssemblyDescription`, `AssemblyConfiguration`, `AssemblyCompany`, and `AssemblyTrademark` fields are empty strings. This may trigger default behavior or result in missing metadata in the compiled DLL properties.
|
|
* **Legacy Format:** The existence of an explicit `AssemblyInfo.cs` suggests this project may be using the older .NET Framework SDK style project format. Newer SDK-style projects typically auto-generate this information, which can lead to conflicts (CS0579) if the project file is later upgraded without removing this file. |