.NET Copy Third Party Libraries to Bin\Release

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

Answers


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.


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

Check this question too.


Need Your Help

mysql - embed count query within another query

sql mysql nested-queries

In postgres I am fairly sure you can do something like this

GCC Compilation error: no match for ‘operator<’

c++ gcc containers

G++ has been kind of trolling me with this huge error report. But I'm totally unable to extract any information out of it. It would be great if you could help me.