How to share executable code

Willard 45 Reputation points
2023-10-01T17:41:26.2+00:00

What would be a way to share an executable application for code created in an empty project?

I have tried sharing the executable with the source code which returns errors of missing files. I have also tried following the visual studio deployment walkthroughs, but use MFC app which goes outside of what I'm trying to do.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,887 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Willard 45 Reputation points
    2023-10-06T06:50:47.44+00:00

    I already found the answer and unfortunate work scheduling prevented me from responding.

    • I simply made a new project as a Windows Desktop Application instead of an empty project and pasted my code into it and deleting the code it starts with. After changing the build configuration from Debug to Release it and building the code, it created the executable that I could share without anything else needed.
    0 comments No comments