init
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
---
|
||||
source_files:
|
||||
- DTS Viewer/DTS.Viewer.Test/Properties/AssemblyInfo.cs
|
||||
generated_at: "2026-04-16T13:36:37.650088+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "b0750861283679d4"
|
||||
---
|
||||
|
||||
# Documentation: DTS.Viewer.Test Assembly Info
|
||||
|
||||
## 1. Purpose
|
||||
This source file provides assembly-level metadata configuration for the `DTS.Viewer.Test` project. It exists to define the identity, versioning, and COM visibility settings for the compiled test assembly. This file is typically auto-generated by the Visual Studio project template for .NET Framework projects and embeds manifest attributes into the output DLL.
|
||||
|
||||
## 2. Public Interface
|
||||
This file does not contain public classes, methods, or functions. It strictly defines assembly-level attributes using C# preprocessor directives.
|
||||
|
||||
**Defined Attributes:**
|
||||
* **`AssemblyTitle`**: Set to `"DTS.Viewer.Test"`.
|
||||
* **`AssemblyDescription`**: Set to an empty string.
|
||||
* **`AssemblyConfiguration`**: Set to an empty string.
|
||||
* **`AssemblyCompany`**: Set to an empty string.
|
||||
* **`AssemblyProduct`**: Set to `"DTS.Viewer.Test"`.
|
||||
* **`AssemblyCopyright`**: Set to `"Copyright © 2017"`.
|
||||
* **`AssemblyTrademark`**: Set to an empty string.
|
||||
* **`AssemblyCulture`**: Set to an empty string.
|
||||
* **`ComVisible`**: Set to `false`. Prevents types in this assembly from being visible to COM components.
|
||||
* **`Guid`**: Set to `"d9980374-0c0d-4a27-90eb-b5af17fb419e"`. Serves as the ID for the typelib if the project is exposed to COM.
|
||||
* **`AssemblyVersion`**: Set to `"1.0.0.0"`.
|
||||
* **`AssemblyFileVersion`**: Set to `"1.0.0.0"`.
|
||||
|
||||
## 3. Invariants
|
||||
* **COM Visibility:** The attribute `ComVisible(false)` ensures that all types within this assembly are not exposed to COM by default. To expose a specific type, that type must be explicitly marked with `ComVisible(true)`.
|
||||
* **Versioning:** Both the assembly version and file version are fixed at `1.0.0.0`. They will not auto-increment with builds unless the wildcard syntax (commented out in the source) is enabled or an external build process modifies the file.
|
||||
|
||||
## 4. Dependencies
|
||||
* **Internal Dependencies:**
|
||||
* `System.Reflection`: Required for the assembly attribute classes.
|
||||
* `System.Runtime.CompilerServices`: Required for assembly attribute support (though typically used for `InternalsVisibleTo`, it is imported here).
|
||||
* `System.Runtime.InteropServices`: Required for the `ComVisible` and `Guid` attributes.
|
||||
* **External Dependencies:** None inferred from this file alone. This file is a configuration artifact for the build system.
|
||||
|
||||
## 5. Gotchas
|
||||
* **Legacy Project Structure:** The existence of an explicit `AssemblyInfo.cs` usually indicates a classic .NET Framework project structure (non-SDK style). Modern .NET Core/.NET 5+ projects often auto-generate this metadata, which can lead to build conflicts (CS0579 duplicate attribute errors) if this project is migrated to an SDK-style format without removing or disabling these explicit definitions.
|
||||
* **Empty Metadata:** Several fields (`AssemblyDescription`, `AssemblyCompany`) are empty strings. While not a bug, this results in minimal metadata embedded in the compiled DLL properties.
|
||||
* **Hardcoded Version:** The version numbers are hardcoded. If the build pipeline expects automatic versioning, this file will override it unless the build script explicitly rewrites these values.
|
||||
Reference in New Issue
Block a user