VS2012 Productivity Power Tools Pinned Tabs close on run

*爱你&永不变心* 提交于 2019-12-03 06:22:34

问题


If I open a saved project with pinned tabs restored from my last session, when I next run my solution the pinned tabs become unpinned. Is there a way to turn this behavior off? I pinned them for a reason and it is becoming quite frustrating as the solution grows.


回答1:


I had the same problem and found the answer here

Go to Tools -> Options -> Environment -> Tabs and Windows and make sure "Maintain pin status if document is removed from well" is checked.




回答2:


Accepted answer solved it for me in previous versions, but in VS2017, also ensure you don't have "lightweight solution load" enabled.

To disable, right-click the solution in Solution explorer, then choose "Disable Lightweight Solution Load" if it's available (probably right down the bottom of the menu).

My guess is when the pin tabs attempt to be restored during VS startup, if the project hasn't been loaded yet, it can't pin them.



来源:https://stackoverflow.com/questions/16120643/vs2012-productivity-power-tools-pinned-tabs-close-on-run

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!