Include a DLL

  • Thread starter Ferdinand Zaubzer
  • 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
 
A

Ashot Geodakov

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top