Search code examples
visual-studio-2010setup-deployment

If I add a reference to a dll in VS2010, will that dll be packaged up with my app when I deploy?


If I add a reference in Visual Studio 2010 to a .dll file, will that .dll file be packaged up with my application when I deploy it?


Solution

  • Generally, yes.

    To make sure it'll always be copied to the output directory, right click the DLL and select Copay Local = True in the Properties grid.

    Copy Local = Indicates whether the reference will be copied to the output directory