C # How to package dlls in an .exe

0

I have an executable (.exe) developed in Visual Studio 2017, I compile it with Costura.Fody to package all the dll that are needed during the execution of the application, however there are 3 dll that must be manually copied to the same location of the application because otherwise exceptions are generated in execution time. The dll are:

  • SQLite.Interop.dll
  • A dll that I developed to call the functions of a sdk
  • the dll corresponding to the SQLite database
  • My questions are:

  • Why should the 3 dll be sent to be packaged with Costura.Fody should they be copied manually?
  • Is there any way to include the 3 dll in the .exe apart from Costura.Fody?
  • asked by Daniel Hernandez 09.11.2017 в 20:27
    source

    1 answer

    0

    I do not know that compiler, but you can try selecting from Visual Studio in References of the project, the dll you want to copy and give it F4, the options menu will appear and one of them is "Copy to Local", put it to True to see if it helps you.

        
    answered by 10.11.2017 в 10:49