简体   繁体   English

Visual Studio 2017不记得“在解决方案资源管理器中跟踪活动项”选项

[英]Visual Studio 2017 don't remember option “Track Active Item in Solution Explorer”

VS don't remember this option is check, when restart the IDE or change project branch. VS不记得这个选项是在重启IDE或更改项目分支时检查的。

I always check this option when I open the IDE. 我打开IDE时总是检查此选项。

I am using VS 17 Enterprise latest version. 我正在使用VS 17 Enterprise最新版本。

EDIT: I am also using resharper(maybe it override VS options). 编辑:我也使用resharper(也许它覆盖VS选项)。

If I change resharper performance options, than it doesn't work. 如果我改变resharper性能选项,那么它不起作用。 Following option affect VS option: 以下选项影响VS选项:

在此输入图像描述

If you select fix silently then it is overriding the VS settings. 如果您选择fix silently那么它将覆盖VS设置。

Try the following (ensure you are on the LATEST VS2017): 尝试以下(确保您在最新的VS2017上):

  • As per comments: "I've found that it works reliably when Solution Explorer is in Solution mode. But when working in Folder mode, the behaviour is temperamental." 根据评论:“我发现当解决方案资源管理器处于解决方案模式时它可以正常工作。但是当在文件夹模式下工作时,行为是不稳定的。”
  • Toggle lightweight loading on/off ( https://dotnetvibes.com/2017/02/13/lightweight-solution-load-in-visual-studio-2017/ ) 打开/关闭轻量级加载( https://dotnetvibes.com/2017/02/13/lightweight-solution-load-in-visual-studio-2017/
  • Disable the extensions in VS one-at-a-time to determine which one, if any, cause this 在VS中一次禁用扩展,以确定哪一个(如果有)导致这种情况
  • Completely uninstall Productivity Power Toys (PPT) (disable wont work) 完全卸载Productivity Power Toys(PPT)(禁用不工作)
  • Remove the .vs folder (as per other suggestions) 删除.vs文件夹(根据其他建议)

This has to be reproducible, others have had similar problems with different versions, please let us know which version number you are using right now, thanks! 这必须是可重现的,其他人有不同版本的类似问题,请告诉我们您正在使用的版本号,谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM