Skip to content

How to resolve special NuGet version dependency scenario? #519

Answered by adamralph
bryan-wu asked this question in Q&A
Discussion options

You must be logged in to vote

@bryan-wu this sounds like exactly the same scenario that was described in #500.

This is the best solution I can think of (from #500 (comment)):

Let's say you have two projects, Main and Extension, and Extension 1.0.0 depends on Main 1.0.0. You then start working on Extension 1.1.0, and commit changes to that project. As I understand it, the problem you are facing is that, even though you are not committing to Main, that project starts to produce versions such as Main 1.0.1-alpha.0.123 because of the changes your committing to Extension, even though you are not touching the Main project. You can solve this by "locking" Main to 1.0.0 by adding <MinVerVersionOverride>1.0.0</MinVerVersionOv…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adamralph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants