Build > Publish <project name> is hidden

Max Cooley 1 Reputation point
2021-11-16T03:59:17.073+00:00

149597-screenshot-2021-11-15-195809.jpg

I need to publish (not build) this C# project but the button is hidden. Please help.

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

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 12,921 Reputation points Microsoft Employee
    2021-11-24T12:20:56.293+00:00

    Hi @Max Cooley ,

    Welcome to Microsoft Q&A forum.

    What kind of project are you using? Are you using a project which is not supported to be published?

    If the publish option is hidden by accident maybe, you can go to Extensions > Customize Menu… > Commands > select Menu bar: and choose Build in drop-down list, and then click Reset All. (Another method, reset all VS settings)

    Besides, if you right-click on your project will you see the Publish… option in the context list? If you can see that option, click it and it will do the same operation(publish).

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      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.
    No comments