Skip to content

Validate packaging layout and Roslyn variant contents #210

Description

@atifaziz

Objective

Confirm generated NuGet package includes baseline and Roslyn 4.4 analyzer artifacts in the expected paths and that guard behavior is correct.

Scope

  • Execute verification commands and inspect package layout.
  • Validate guard target behavior for incomplete build scenarios.
  • Record evidence for release confidence.

Files

  • No mandatory source changes expected.
  • Optional: add/update internal verification notes if project maintains them.

Tasks

  • Run baseline regression check: dotnet build at repo root.
  • Validate guard behavior:
    • Run dotnet pack src/DocoptNet/DocoptNet.csproj without Roslyn 4.4 build output.
    • Confirm expected failure message references build.ps1 -Pack guidance.
  • Produce package via scripted workflow:
    • dotnet pwsh ./build.ps1 -Pack
  • Inspect generated .nupkg and confirm presence of:
    • lib/netstandard2.0/DocoptNet.dll
    • lib/netstandard2.1/DocoptNet.dll
    • lib/net47/DocoptNet.dll
    • analyzers/dotnet/cs/DocoptNet.dll
    • analyzers/dotnet/roslyn4.4/cs/DocoptNet.dll
    • build/netstandard2.0/docopt.net.targets
  • Run package integrity check (dotnet nuget verify or equivalent inspection).

Acceptance Criteria

  • Guard fails when expected and blocks incomplete package generation.
  • Scripted pack generates package in dist/ with all required payloads.
  • Evidence is captured in issue comments/checklist completion.

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions