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

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.

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:
Go to Options → Environment → Keyboard
Filter down to "View.WebPublishAcitvity" or find it in the list
Create a keyboard shortcut of your liking by typing it in the circled red box and then click the Assign button:
After doing that, you should be able to use that shortcut to open the window much faster at least.

Related

Visual Studio 2019: Start Page instead of Start Window

Visual Studio introduced a blocking Start Window instead of a non-blocking Start Page.
Considering how extensible Visual Studio is, is there a way to have VS2019 display a non-blocking Start Page.
The new Start Window is quite annoying, less informative, displays all projects, not just solutions, pinning is not up to previous standards, and no additional information. Most annoying is the blocking aspect.
I am thinking that there is some sort of extension or setting that Microsoft has somewhere, which can re-enable the Start Page and disable the Start Window.
Alternatively if it is not possible, is it possible to just disable the start window and have the main application appear, when the app starts or when a user closes a solution/project?
--
Another hope with this post is that Microsoft sees this request and maybe modifies their code and offers users an option at the start, much like color theme and default code set, as to whether they want app blocking or app non-blocking for the start area.
In Tools > Options > Environment > Startup > On startup, open: select "Empty environment".
Visual Studio will start without showing the modal Start Window.
Start Page on startup extension restores the traditional Start Page in VS 2019.
Start Page: Please give it back! and Make the Visual Studio 2019 start window non-modal are open issues concerning your other points.

Visual studio 2017 debug opens new browser [duplicate]

I've been updating to the latest version of Visual Studio Preview and I think a setting has been changed.
When I start debugging an ASP.NET web app in Visual Studio 2017 15.7.0 Preview 4, VS opens a new browser.
I've had a similar issue before and it was a setting. This time it's not that setting. As you can see below, my Chrome debugging is already unchecked.
I'm also aware of the check box to "Launch Browser" under Project -> Properties.
If I uncheck that no browser is opened. The previous behavior which I really liked was to open a new tab in my default browser i.e. Chrome.
How do I restore that behavior? I'd like VS to automatically open a new tab in Chrome and if I have no browser open, only then it should open up a new browser.
After updating Visual Studio to the latest version 15.7.0 I ran into the same issue. In my case each time I debugged my project it opens up two new instances of Chrome.
As this was not annoying enough, each time I was moving the window to my second screen, the debug-session stopped immediately.
I've searched the Visual Studio options for browser and found a setting called
Stop debugger when browser window is closed
which could be found under Projects and Solutions -> Web Projects. I unchecked this setting and et voilà the next debug-session started as tabs in my already running browser-instance.
As I am not sure if this is a bug introduced with this Visual Studio version, this may change again in any next release. So this setting may be reverted in case of any unexpected behavior.
Update
Seems like version 15.8.5 still has this issue/behavior.

How to stop debug opening a new Chrome window instead of a tab? Visual Studio 2017.7

With Visual Studio / MVC, when clicking debug, it's always launched the local site as a new tab in my currently open Chrome window.
With the 2017.7 update, now it launches a new window every time.
Is there any way to change back to loading it into a tab? I don't like the "new Chrome window every time" behavior
Nevermind, just noticed a new answer in one of my previous questions covers this
How to stop browser closing automatically when you stop debugging on VS 2017

VS2013 disable Web Publish Activity windo

Is there a way to disable the Web Publish Activity window in Visual Studio 2013?
I couldn't find any options to disable that feature.
I have no directly solution for it. But I found workaroud: I tab it to the right sidebar and set autohide for it. So, now this window take minimum screen place and isn't shown during every publish:
If you click the little x in the Web Publish Activity window, it will go away!
I had the same problem on Visual Studio 2017.
Mine was over everything every time and completely unreactive. Not even its close button worked.
The way I get rid of it was: menu Window > Reset Window Layout

How to detach document windows from Visual Studio 2010?

I've got 2 displays with very different resolution (which makes just stretching a window over them not a good idea) and actively use both of them, usually looking at one when doing changes in another.
So I wonder if I could move a child window of Visual Studio 2010 from within the boundaries of it's main window an move it to another display. Nowadays I'd enjoy the way child windows behaved (each window, incl a toolbar and a properties pane worked as an independent window on a desktop) in Borland C++ Builder (while it was senseless the days when I actually was using it).
In Visual Studio 2010 Document Windows are (finally) detachable. For an how to, you can check this post:
Free your Document windows
Basically there are different ways you can achieve this:
Simply click and drag the tab for the Document window out of the IDE;
Go to Window -> Float on the Menu Bar.

Resources