What gets priority during build? link or link to project
I have a .net solution that has two class library projects (Say A and B) which I also publish to the nuget server.
If I were to add A as a project reference and also a nuget reference to B, what version of A.dll should I expect in B's bin folder when compiling?
Is there a rule that determines which link takes precedence? What happens if two dlls have different versions?
PS - I'm building from VS
source to share
That's a moot point. It turns out you can't link twice (like project link and nugget). Visual studio blocks you if you try to add a project reference if it already exists as a nuget reference, and if you add a nuget reference when you already have a project reference with the same name then it will stop working (link to the project will disappear and replaced with a reference to nuget)
source to share