Exitos
Exitos

Reputation: 29720

Why doesnt visual studio add chained references?

I have just added a reference to one of our own Dlls when I tried to use It I couldnt because of a missing dll that the new one references.

Whats the deal? When you add a reference should all the chained dlls that it references be added to? (apart from those in the GAC)...?

Upvotes: 6

Views: 538

Answers (2)

MattDavey
MattDavey

Reputation: 9017

This can be handled automatically with a package manager addin such as NuGet

Upvotes: 2

Bek Raupov
Bek Raupov

Reputation: 3777

yeah, it is pain when you have complex inter dependencies between projects or even worse when you have between solutions.

when it is between projects, you can mark (Copy Local to true to make sure any dependency that project A depends gets dropped to its build folder.

Visual Studio doesnt handle chained dependencies. you have to do it yourself (either by script or some sort of dependency build tools)

Upvotes: 1

Related Questions