If you are using a deployment project, I would recommend using Merge Modules .
Distribution Using Merge Modules
Visual Studio installs several merge modules for each Visual C ++ that can be redistributed with your application. They can be found in the Program Files \ Common Files \ Merge Modules folder. Each of these merge modules can be used to deploy Visual C ++ libraries for the target system.
Adding merge modules to your project is pretty straight forward .
To add a merge module to a deployment project
- Select a deployment project in Solution Explorer.
- From the Project menu, select Add, and then Merge Module.
- In the "Add Modules" dialog box that appears, navigate to the location you want to add.
source share