I have two C# libraries A and B that usually are developed and versioned independently. Both have their own Git repos and each is published to a central Nuget repository. B depends on A.
Now I have a bug that affects and needs to be fixed in both projects. For this, I need to work locally on both projects and especially I need to change project A without publishing it to the central Nuget repo.
What is the standard approach or workflow to temporarily use the local version of project A from project B? Do you typically use version numbers to select the local version?
I am using JetBrains Rider, if possible I would like to use Rider functionality to do this switch.
I have a Java/Maven background, there I would use a SNAPSHOT version for project A, publish it to the local Maven repo and use that version for the dependency in project B.
I did it succesfully in a similar way using version numbers. But originally and differently from Maven, here the number of the own version is not included in the source. So I doubt this is the “standard approach” in C# / Nuget.