Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Version ranges are not preserved when upgrading packages #388

Copy link
Copy link

Description

@acatuttle
Issue body actions

STEPS TO REPRODUCE

  1. Create a new project with a reference to a package that
    a. has a minor or patch upgrade
    b. specifies a version range, e.g.
    <PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="[6.0.13,7)" />
  2. Run the upgrade command, e.g. dotnet-outdated --version-lock Major --upgrade

EXPECTED RESULT

The specified version range is preserved, i.e. the resulting reference should be
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="[6.0.14,7)" />

ACTUAL RESULT

Version ranges are removed, i.e. the resulting reference is
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="6.0.14" />

Reactions are currently unavailable

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.