I have project X, fully operational that compiles into X.exe
I have project Y, it has a reference to project X, and compiles to: Y.exe; Y.dll
I build project X’s solution and the release folder has: X.exe
I build project Y’s solution and the release folder has: X.exe, Y.exe, Y.dll
How do I remove the extra X.exe in project Y?
Even though it’s technically possible, it’s not common practice to reference an exe… you usually reference a DLL
What I would do is extract the common parts into a class library project, and reference the resulting DLL in both executables