Yes, your application will search the file system compared to your application .exe file.
You can include executable files in your project and copy them to the output directory. After adding the binary file to the project, select it and go to its properties. “Build action” should be set to “Content”, and “Copy to output directory” should be set to “Always copy” or “Copy if new”.
It may be a little harder to get the folder created in your output directory and add a file to it; You may need to install the binary in the same directory as your executable. One place to look is your project creation activities; you can add post-build scripts that configure the folder and move the binary to the desired location.
source share