As the question states, How can I create an .EXE file from .NET Framework 4.8 project? This is a Windows Forms Application.
When I publish my application, I get the following files/directory created:
I can run the setup.exe file to download the application, and from there can open the application from my system or through the TapeRedGreen.application file.
Many other users have had an issue in their project properties where there output type is set to Class Library, but I can verify mine is set correctly:
I would like to instead have a TapeRedGreen.exe file that will run the program/application, avoiding having to run the setup/install .exe. How can I do this?
CodePudding user response:
You can just build the application and then look in the output folder (under the bin folder of your project).
The target folder will have the same name of the configuration selected for the build (debug or release).
The last row of the output console will give you the full path.
A quick tutorial from Microsoft:
https://learn.microsoft.com/en-us/visualstudio/ide/walkthrough-building-an-application?view=vs-2022