在 Windows 资源管理器中,当我双击任何 Visual Studio 文件时 (*.cs
, *.csproj
等),它打开的是旧版本的 VS,而不是最新版本(VS 2017)。而且VS与太多的文件类型有关联。
我怎样才能改变default视觉工作室(对于 VS 可以处理的所有文件)?
There is a similar old question about Visual Studio 2008 (Move file associations from Visual Studio 2005 to 2008 https://stackoverflow.com/q/1326506/146513) but the solution in there doesn't work anymore (there is no "Restore File Associations" button on the settings of Visual Studio 2017).
这是微软之前一长串工作得很好的事情中的又一个,微软已经完全#$@%@了。如果我尝试以“正确”的方式更改默认值,我会得到这种东西:
即完全被忽略。我设法解决这个问题的唯一方法是通过注册表完全删除文件关联。让我们来.asm
举个例子:
- 打开注册表编辑器/“
regedit.exe
"
- 导航
HKEY_CLASSES_ROOT\.asm\OpenWithProgIds
- 删除您看到的任何 Visual Studio 值
从那里,您(最终)可以使用您选择的任何内容打开文件,而不是将关联固定到 Visual Studio:
根据记录,我认为这是 Windows 10 的问题。而不是 Visual Studio 的问题。看:https://answers.microsoft.com/en-us/windows/forum/windows_10-files/cant-change-default-programs-in-windows-10/229fc3a9-25c9-433b-a333-5806bc5090db https://answers.microsoft.com/en-us/windows/forum/windows_10-files/cant-change-default-programs-in-windows-10/229fc3a9-25c9-433b-a333-5806bc5090db
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)