Skip to content

Build hygiene: Release ships no PDBs; no TreatWarningsAsErrors/AnalysisLevel; InternalsVisibleTo declared two ways; AssemblyName casing #121

Description

@mrcsin

Summary

Four small build-infrastructure gaps, one issue.

  1. Release builds ship no symbols. Directory.Build.props:17-20 sets DebugSymbols=False, DebugType=None for Release. For a deployed PLC-integration app whose primary diagnostic is the Serilog file, stack traces have no file/line info. Prefer DebugType=portable and either ship the PDBs or archive them per release tag.
  2. No TreatWarningsAsErrors, no AnalysisLevel/EnforceCodeStyleInBuild anywhere in props/csproj. The build is currently at 0 warnings — the cheapest moment to lock that in centrally in Directory.Build.props.
  3. InternalsVisibleTo declared two different ways: SemiStep.Core.csproj:17 uses the SDK <InternalsVisibleTo> item; SemiStep.UI.csproj:10-12 uses a manual AssemblyAttribute item. Unify on the SDK item.
  4. AssemblyName is Semistep (visible in build output: Semistep.dll) while the product/namespaces are SemiStep. Align the casing — note this renames the published executable, so coordinate with any deploy scripts/shortcuts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions