如何load/open注册表Class图.CD文件?

How to load/open Registry Class Diagram .CD file?

我们如何打开 注册表 Class 图表 (.CD) 文件?如果我们直接双击它然后它会尝试在 Visual Studio 中打开并显示以下错误消息 :

"Class Diagram are not supported by this project type."

我们可以通过将其加载到注册表编辑器来打开这样的注册表 Class 图 (.CD) 文件。按照步骤在注册表编辑器中加载 .CD 文件。

 1. Open regedit.  
 2. GoTo File->Load Hive..    
 3. Select your .CD file.    
 4. Give a temporary key name <XYZ>. (under this key, .CD file will get imported) 
 5. Click Ok.

然后您可以在注册表项 XYZ 下看到从 .CD 文件导入的注册表项。
要卸载此注册表,请执行相同的步骤(卸载 Hive)。