0

Hello

Im trying to make a small program but when I get the .EXE from the Debug or/and the Release folder it complains about a DLL missing (RestSharp) which is avaliable in those folders if I move it to (for example) C:/ How can I "embed" the DLL into the EXE? Standalone program.

Thanks

Edited by riahc3

3
Contributors
3
Replies
25
Views
4 Years
Discussion Span
Last Post by TnTinMN
Featured Replies
  • 1

    You don't embed DLLs into executables, you package them in an installer such that they're copied to and registered with the target machine. So in your case you need to create a setup and deployment project. This project will produce an MSI that will handle installing all of the required … Read More

1

You don't embed DLLs into executables, you package them in an installer such that they're copied to and registered with the target machine. So in your case you need to create a setup and deployment project. This project will produce an MSI that will handle installing all of the required files to run your application.

0

You don't embed DLLs into executables, you package them in an installer such that they're copied to and registered with the target machine. So in your case you need to create a setup and deployment project. This project will produce an MSI that will handle installing all of the required files to run your application.

No way to do this then? That sucks.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.