views:

140

answers:

2

Hi All,

We use Microsoft Smart client, Enterprise Library, Composite Application Block and Infragistics and some more third party libraries.

In the project, we added references to the libraries in the Visual Studio 'Add Reference' and selecting from .NET component lists.

How to make sure all the DLLs shall be copied to the deployment directory when we need to give these files for customer where they don't install all the libraries mentioned above?

Regards,

Krish

+3  A: 

I assume you have set the "Copy Local" property on the reference to True.

To automatically copy files after a build, modify the "Post-build event command line" found in the project properties. Insert the appropriate command to copy your files.

Greg
A: 

If they are all references, just select them and set 'Copy Local' to true in the PropertyGrid.

Check this question too.

Vincent Van Den Berghe