问题
Can I add external .exe to my C# project so that i don't need any path to access it as outside app? I want to embed it as my project resource? Thanks in advance
回答1:
You can add file by right-clicking on the project, or drag-n-drop works.
You can add your exe in your solution and set its Build Action: Content
and Copy to output Directory: Copy always
.
The installer should automatically include the file.
Hope this helps
来源:https://stackoverflow.com/questions/51326810/how-to-add-external-exe-to-my-c-sharp-project