Skip to content

Support VersionOverride #536

Open
Open

Description

@slang25

When using CPVM (Directory.Packages.props), VersionOverride can be used to override the centrally defined version.

Today dotnet-outdated will ignore the version override, and seemingly CPVM, and add a version element to the project.

For example:

<PackageReference Include="System.Text.Json" Condition="'$(TargetFramework)' == 'net48'" VersionOverride="8.0.0" />

after a dotnet-outdated run becomes:

<PackageReference Include="System.Text.Json" Condition="'$(TargetFramework)' == 'net48'" VersionOverride="8.0.0">
    <Version>8.0.3</Version>
</PackageReference>

Activity

  1. self-assigned this
    on Mar 13, 2024
  2. Frulfump commented on Jan 9, 2026

    @Frulfump

    Maybe #697 would fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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