Kevin
Kevin

Reputation: 4848

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?

Upvotes: 1

Views: 96

Answers (1)

Leniel Maccaferri
Leniel Maccaferri

Reputation: 102388

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

Upvotes: 1

Related Questions