EddieB
EddieB

Reputation: 5001

Web Publish Activity window is not maintained when closing and reopening Visual Studio 2022

I recently applied an update to Visual Studio Community 2022 (64-bit). Current Version is 17.3.4

We still use Web Deploy for some legacy asp.net sites and the Web Publish Activity window is very useful for switching between dev and production environments.

After a recent Visual Studio upgrade I noticed that the Web Publish Activity window was not visible, so I reopened it via View -> Other Windows... and it appeared as expected in the lower window, as a new tab along with Output and Error List.

But after closing my project and reopening it, the Web Publish Activity window is missing again. I tested other windows like PowerShell and Bookmark Window and they ARE maintained after closing and reopening VS.

I also tried saving a new window layout with the Web Publish Activity window open and then reapplying that layout after a VS restart but that had no affect.

It is very annoying to have to go though multiple levels of the View menu to reopen this window every time I open this project.

Does anyone have any advice on how to keep this window locked/pinned? Is Microsoft trying to "encourage" me to stop using this window? If there is another way to quickly change between publish profiles that would be acceptable as well, but I cannot find one.

Thank you.

Upvotes: 3

Views: 651

Answers (1)

Timothy G.
Timothy G.

Reputation: 9145

This may be a bug with this particular window (the fact that it doesn't stay pinned after closing Visual Studio that is).

Perhaps as a decent workaround you can at least assign a keyboard shortcut to open this window:

  1. Go to Options → Environment → Keyboard
  2. Filter down to "View.WebPublishAcitvity" or find it in the list
  3. Create a keyboard shortcut of your liking by typing it in the circled red box and then click the Assign button:

keyboard shortcut

After doing that, you should be able to use that shortcut to open the window much faster at least.

Upvotes: 1

Related Questions