Include a DLL

  • Thread starter Thread starter Ferdinand Zaubzer
  • Start date Start date
F

Ferdinand Zaubzer

Hello,

I would like to include an existing DLL library in a projekt, that
should be copied to the output when the poject is built.

Whats the best practice to achieve that?

Regards
Ferdinand
 
Depends on what kind of DLL it is.

If it's a .Net class library that you list as a Reference in your project,
there's a "Copy Local" property that you may set to True for that reference.

If it's a regular DLL, you can go to Project Properties -> Build Events ->
Post-Build Event.

Put a regular DOS copy command in the command line field:

copy your_dll.dll $(TargetDir)
 
Back
Top