I am trying to publish a console application to a folder. Visual studio only allows me to create a setup.exe installer that I can not use - how can I get around this? Any suggestions
I am trying to publish a console application to a folder. Visual studio only allows me to create a setup.exe installer that I can not use - how can I get around this? Any suggestions
You only need most of the files in the release build folder. When you choose "publish to folder", you'd better review carefully what publishing option you have chosen, ClickOnce or any other.
I agree that I need the files in the /release folder - that is why I want to publish to a folder. However, the problem is that I don't have the option to publish to folder - I ONLY have the option to create the setup.exe
@Nathankopczynski-1842, what is your current visual studio version, vs2019 or vs2022? Could you tell me how do you publish the console app? It will be better for you to attach a picture to describe your problem.
@Nathankopczynski-1842 , If you want to include the files from the release folder, Please refer to the following steps to do it.
First, Please set the file properties like the following:

Second, you could right-click your projects and choose publish option.
Third, after clicking the Application Files, you can see we have included the files from the release folder.

Finally, Please click Publish Now in the right bottom and files in the publish folder.

If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
9 people are following this question.
Insert a node as child ,before or after a node in nested dynamic JSON Node using C#
Visual Studio 2019: Undefined behavior in a C++/CLI wrapper project.
Example for how to get Package Metadata from Azure DevOps Rest-Api Artifacts using c#
How to collapse individual nested grids/stackpanels inside a grid?