Support filtering on nuget's PackageReference VersionOverride attribute #34669
Replies: 3 comments 4 replies
-
To voice our support for this feature and give some context for our use case (we also use Microsoft CPM) We have some legacy code that has yet to be moved from Net60. Therefore, we have these conditional dependency blocks:
While we totally want our Please share your thoughts on this. |
Beta Was this translation helpful? Give feedback.
-
I have a workaround:
This works because I use Directory.Packages.props, so the only versions in csproj's would be |
Beta Was this translation helpful? Give feedback.
-
Hi there, Please help this Discussion progress by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
In a repo that uses
Directory.Packages.props
for centralized version control, an individual project may still override individual versions using aVersionOverride
attribute:Renovate apparently recognizes this and offers to update them. Which is fine, perhaps in some cases. But in our cases we override them with very specific intent and never want those updated.
I don't see any way to filter/match based on this attribute being used, however.
Can a way be added so that we can always retain VersionOverride values via configuration?
Repro repo
Beta Was this translation helpful? Give feedback.
All reactions