Reputation: 125
I have 3 projects in a one solution:
a references b (CopyLocal = true), and b references c (CopyLocal = true).
Why doesn't c.dll exist on a's output path?
Upvotes: 1
Views: 77
Reputation: 125
It's because the code of project a doesn't use directly project b. (It calls an another class's method which uses (references) b.dll and c.dll...)
Upvotes: 1
Reputation: 156988
Because only referenced projects are included in the build and copied to the output directory. It doesn't matter b
references a
. It will just not copy the file.
You need to add a reference to a
in your project c
.
Upvotes: 1