更改visual studio 2010 帮助文档库位置

来源:互联网 发布:name域名隐私 编辑:程序博客网 时间:2024/05/17 15:37

第一步:移动库文件

将原路径下帮助文档库的所有文件(1个cld-settings.xml)和文件夹(4个catalogs,content,manifest,VS_100_zh-CN)复制到你想要放置的路径下;

第二步:更改注册表

运行regedit.exe,把HKEY_LOCAL_MACHINE/SOFTWARE/MICROSOFT/HELP/V1.0/LocalStore的键值修改成帮助文档的新路径;

第三步:更改配置文件中的路径

打开manifest文件夹中的queryManifest.3.xml文件,内容如:

<?xml version="1.0" encoding="utf-8"?>
<queryManifest version="1.0">
  <catalogs>
    <catalog productId="VS" productVersion="100" productLocale="ZH-CN" productDisplayName="" sourceType="index">
      <catalogPath>D:/HelpLibrary/catalogs/VS/100/ZH-CN</catalogPath>
      <contentPath>D:/HelpLibrary/content</contentPath>
      <brandingPackageFileName>dev10.mshc</brandingPackageFileName>
      <currentPartitionFileName>VS_100_ZH-CN_Cat_634359473634317796.mshi</currentPartitionFileName>
      <catalogSources>

其中

<catalogPath>D:/HelpLibrary/catalogs/VS/100/ZH-CN</catalogPath>
      <contentPath>D:/HelpLibrary/content</contentPath>

中的路径(红色显示部分)要改为新的路径。

转载自:http://blog.csdn.net/oceandepth/article/details/6255456