我在Windows 7上运行Visual Studio 2008 SP1。
我的公司有一个构建工具,可以在C#节点下注册自己。更具体地说,它在注册表中创建此条目:
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ VisualStudio \ 9.0 \ Generators {fae04ec1-301f-11d3-bf4b-00c04f79efbc} \ AssemblyName]
其他团队成员正在运行Windows XP,而我正在运行Windows 7.该工具可以正常运行。但是,当我尝试在VS 2008中运行自定义工具时,我收到了一个未找到的错误。
我已粘贴下面的其他注册表更改。为什么Visual Studio可以在XP中找到该工具而在Windows 7中找不到?
[HKEY_LOCAL_MACHINE \ SOFTWARE \微软\ VisualStudio的\ 9.0 \发电机{fae04ec1-301f-11D3-bf4b-00c04f79efbc} \的AssemblyName] “CLSID”= “{ACD71775-E698-4CE2-9B59-C28E116E5394}” “GeneratesDesignTimeSource”= DWORD:00000001 “GeneratesSharedDesignTimeSource”= DWORD:00000001 @ = “AssemblyFriendlyName”
[HKEY_CLASSES_ROOT \的AssemblyName] @ = “的AssemblyName”
[HKEY_CLASSES_ROOT \的AssemblyName \ CLSID] @ = “{ACD71775-E698-4CE2-9B59-C28E116E5394}”
[HKEY_CLASSES_ROOT \ CLSID {ACD71775-E698-4CE2-9B59-C28E116E5394}] @ = “的AssemblyName”
[HKEY_CLASSES_ROOT \ CLSID {ACD71775-E698-4CE2-9B59-C28E116E5394} \已实施类别]
[HKEY_CLASSES_ROOT \ CLSID {ACD71775-E698-4CE2-9B59-C28E116E5394} \已实施类别{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]
[HKEY_CLASSES_ROOT \ CLSID {ACD71775-E698-4CE2-9B59-C28E116E5394} \ InprocServer32的] @ = “MSCorEE.dll中” “的ThreadingModel”= “两者” “类”= “AssemblyClassName” “Assembly”=“AssemblyName,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 2a949dc6e405b4f5” “RuntimeVersion”= “V2.0.50727” “基本代码”= “的文件:// C:/Windows/Assembly.dll”
[HKEY_CLASSES_ROOT \ CLSID {ACD71775-E698-4CE2-9B59-C28E116E5394} \ InprocServer32的\ 1.0.0.0] “类”= “AssemblyClass” “Assembly”=“AssemblyName,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 2a949dc6e405b4f5” “RuntimeVersion”= “V2.0.50727” “基本代码”= “的文件:// C:/Windows/Assembly.dll”
[HKEY_CLASSES_ROOT \ CLSID {ACD71775-E698-4CE2-9B59-C28E116E5394} \程序id] @ = “的AssemblyName”
答案 0 :(得分:0)