Skip to content

Incorrect package executable name for minver tool #1594

@chrisbewz

Description

@chrisbewz

Usage Information

8.0.4 / 8.0.420 / net8.0 / Windows 11 25H2 26200.8246

Description

The DLL name minver-cli, currently used to locate minver CLI tool appears to be outdated. Starting from version 7.0.0, the project began explicitly defining the assembly name, leading to path resolution issues when using either the [MinVer] annotation or directly calling MinVerTask.MinVer.

Reproduction Steps

  1. Create a new build project
  2. Install minver-cli package with a version >= 7.0.0

Expected Behavior

Minver tool being resolved from correct path

Actual Behavior

Resolution is failing due to incorrect assembly name

Regression?

No response

Known Workarounds

Call SetProcessToolPath when configuring MinVerSettings, passing the result of `GetPackageExecutable("minver-cli", "minver.dll")

Could you help with a pull-request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions