I am in the midst of some refactoring of some C # codes, and part of this is to repeat some links, because we are completely redoing the folder structure. I would just go into the .csproj or .sln file and change the paths.
However, some links have paths such as
"../../../../../../ThirdParty/SomeMicrosoftLibrary/bin/Debug/SomeMicrosoftLibrary.dll
And since we moved everything around, I need to find a new relative path. But I absolutely hate trying to do this (find out how many oblique and periods I need to add), since it always feels like a hit or a mean science.
Is there a simple way (utility, script, code snippet) to say "here is file A, here is file B, what is the relative path of file B relative to file A?"
source
share