C# .NET 4.7.2 - Console Application - publish to folder NOT setup.exe

Nathan kopczynski 21 Reputation points
2021-09-01T12:45:40.22+00:00

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

Developer technologies | C#
{count} votes

Accepted answer
  1. Jack J Jun 25,296 Reputation points
    2021-09-03T07:52:47.327+00:00

    @Nathan kopczynski , 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:

    128986-image.png

    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.

    128949-image.png

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

    129020-image.png


    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.