I wrote an application that work with Git using the library LibGit2Sharp, everything works properly. After finishing development, we publish to a common folder from which everyone works. I want to create an installation for the application and that everyone will install it.
To create an installation for the application, I added a new Setup Project to Solution and referenced all the projects in Solution to it. I installed the app and it runs, but crashes when trying to work with Git.
The error I get: DllNotFoundException: Unable to load DLL 'git2-106a5f2' or one of its dependencies: The specified module could not be found.
The point is that the Dll file described exists in the installation folder as it exists in the Publish folder.
Is there anything I should have taken into account during the installation process? what am I missing?