将帮助库移动到其他位置 [英] Moving the HelpLibrary to a different location
问题描述
我有一个SSD作为系统驱动器(C :),它是真正的救生设备,但是这里的可用空间是一个溢价值,因此,我希望将非必需的文件远离该驱动器.
进食者" 主要磁盘之一是在本地模式下使用的 VisualStudio HelpLibrary .
我已经在网上搜索过,但是没有运气,如何将这个位置(C:\ programdata \ Microsoft \ HelpLibrary)移动到普通硬盘驱动器上的其他路径(例如D:\ HelpLibrary).
使用Visual Studio可以做到这一点,还是我们需要使用一些注册表或配置技巧?
I have an SSD as system drive (C:) and it's a real lifesaver, however the free space is a premium value here, so I wish to keep non essential files away from this drive.
One of the major disk 'eater' is the VisualStudio HelpLibrary used in Local Mode.
I have searched on the net, but with no luck, how to move this location (C:\programdata\Microsoft\HelpLibrary) to a different path on a normal hard drive (e.g. D:\HelpLibrary).
There is a way to do this with Visual Studio or we need to use some registry or config trick?
推荐答案
我在此站点上找到了解决方案.
http://mshcmigrate.helpmvp.com/news/moveorresetyourvs2010helplibrary
I have found the solution on this site.
http://mshcmigrate.helpmvp.com/news/moveorresetyourvs2010helplibrary
我在这里写那篇文章的相关部分.
但是我建议您阅读它,因为有关HelpLibrary设置的信息很多
I write here the relevant part of that article.
However I suggest to read it because there are numerous information on HelpLibrary settings
- 关闭帮助库代理" 托盘应用程序(当然,您无法在运行时更改任何内容)
- 查找帮助库存储的当前路径,查看HKLM \ Software \ Microsoft \ Help \ V1.0 \ 中的注册表值"LocalStore ="
- 转到该文件夹,然后将所有内容移至所需位置.
- 使用新路径更新HKLM \ Software \ Microsoft \ Help \ V1.0 \中的注册表值"LocalStore =" .
- 在记事本中打开文件 manifest \ queryManifest.??.xml ,然后将所有出现的旧帮助路径重命名为新路径.
- Shutdown "Help Library Agent" tray application (of course, you can't change anything with this running)
- Find the current path of the help library store looking at registry value "LocalStore=" in HKLM\Software\Microsoft\Help\V1.0\
- Go to that folder and Move everything to the desired location.
- Update the registry value "LocalStore=" in HKLM\Software\Microsoft\Help\V1.0\ with the new path.
- Open the file manifest\queryManifest.??.xml in notepad and rename all occurrences of the old help path to the new path.
尝试过,我能够释放SSD上最多6GB的磁盘空间.
Tried and I was able to free up to 6GB of disk space on the SSD.
这篇关于将帮助库移动到其他位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!