.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

JAVA - Download Binary File (e.g. PDF) file from Webserver

java post login httpclient

I need to download a pdf file from a webserver to my pc and save it locally.

Any downside to "WITH RECOMPILE" for monthly SQL Server stored proc processes?

sql-server sql-server-2005 stored-procedures

I think the question says it all. I have several monthly processes in stored procedures which take anywhere from a minute to an hour. If I declare them WITH RECOMPILE, an execution plan will be