40 lines
3.2 KiB
Markdown
40 lines
3.2 KiB
Markdown
|
|
---
|
||
|
|
source_files:
|
||
|
|
- DTS Viewer/DTS.Viewer.Reports/DTS.Viewer.PSDReportSettings/Properties/AssemblyInfo.cs
|
||
|
|
generated_at: "2026-04-16T11:00:33.367677+00:00"
|
||
|
|
model: "zai-org/GLM-5-FP8"
|
||
|
|
schema_version: 1
|
||
|
|
sha256: "86a096c3d5cd87e0"
|
||
|
|
---
|
||
|
|
|
||
|
|
# Documentation: DTS.Viewer.PSDReportSettings Assembly Configuration
|
||
|
|
|
||
|
|
## 1. Purpose
|
||
|
|
This file provides assembly-level metadata and configuration for the `DTS.Viewer.PSDReportSettings` component within the DTS Viewer application. It defines the assembly's identity, version information, and COM visibility settings using .NET attributes. As a standard `AssemblyInfo.cs` file, it serves as the manifest entry point for the compiled DLL, ensuring the module is correctly identified by the .NET runtime and host application.
|
||
|
|
|
||
|
|
## 2. Public Interface
|
||
|
|
This file does not contain executable classes or methods. It exposes the following assembly-level attributes as its public interface:
|
||
|
|
|
||
|
|
* **`AssemblyTitle("DTS.Viewer.PSDReportSettings")`**: Specifies the display name for the assembly.
|
||
|
|
* **`AssemblyProduct("DTS.Viewer.PSDReportSettings")`**: Specifies the product name associated with this assembly.
|
||
|
|
* **`AssemblyVersion("1.0.0.0")`**: Specifies the version number of the assembly used by the common language runtime.
|
||
|
|
* **`AssemblyFileVersion("1.0.0.0")`**: Specifies the Win32 file version resource; typically mirrors the assembly version.
|
||
|
|
* **`ComVisible(false)`**: Indicates that types within this assembly are not visible to COM components by default.
|
||
|
|
* **`Guid("82faae11-3be9-4223-beb8-8a53643866f8")`**: Specifies a unique identifier for the assembly if it is exposed to COM.
|
||
|
|
|
||
|
|
## 3. Invariants
|
||
|
|
* **COM Visibility:** The attribute `[assembly: ComVisible(false)]` ensures that no types within this assembly are exposed to COM unless a specific type is explicitly marked as visible.
|
||
|
|
* **Versioning:** Both the logical assembly version and the physical file version are currently fixed at `1.0.0.0`.
|
||
|
|
* **Identity:** The assembly is identified by the title `DTS.Viewer.PSDReportSettings` and the GUID `82faae11-3be9-4223-beb8-8a53643866f8`.
|
||
|
|
|
||
|
|
## 4. Dependencies
|
||
|
|
* **Internal Dependencies:**
|
||
|
|
* `System.Reflection`: Required for the assembly attribute definitions.
|
||
|
|
* `System.Runtime.CompilerServices`: Required for assembly attribute support.
|
||
|
|
* `System.Runtime.InteropServices`: Required for the `ComVisible` and `Guid` attributes.
|
||
|
|
* **External Dependencies:** None identified from this source file alone. The module name suggests it is a plugin or sub-module of the larger `DTS Viewer` system.
|
||
|
|
|
||
|
|
## 5. Gotchas
|
||
|
|
* **Hardcoded Versions:** The `AssemblyVersion` and `AssemblyFileVersion` are hardcoded to `1.0.0.0`. If the project uses Continuous Integration (CI) to auto-increment versions, this file may override those settings or require manual updating during releases.
|
||
|
|
* **SDK-Style Projects:** If this project is migrated to the modern SDK-style `.csproj` format, the attributes defined here may conflict with auto-generated attributes, resulting in compiler warnings (CS0579) regarding duplicate attributes.
|
||
|
|
* **Missing Metadata:** The `AssemblyDescription`, `AssemblyConfiguration`, `AssemblyCompany`, and `AssemblyTrademark` attributes are initialized as empty strings, which may result in missing metadata in the compiled DLL properties.
|