My solution consists of:
Client
- startup project, UI layer. Depends on: App
App
- library, application layer, assembler. Depends on: Lib1
, ...
Lib1
- library, business logic layer. Needs a specific file to work properly: ThirdParty.dll
I've added ThirdParty.dll
to the Lib1
project (Add
> Existing Item...
> Add
) and set Copy to Output Directory
property of dll file to Copy Always
. Now the dll file is copied to the Lib1
output and to the App
output, but not to the Client
output where I need it to be.
What is the right (simple? obvious?) way to copy ThirdParty.dll
to the output of Client
on each solution build?
UPD
ThirdParty.dll
is not a reference. Actually, that's another reference dependence. My question is applied to any file that needs to be in the folder of running application.
Recorded video to be sure I'm doing it right: http://youtu.be/QwS2tOIc5yQ