VSTO for Word(C#编程VS2008) [英] VSTO for Word (C# Programming VS2008)
本文介绍了VSTO for Word(C#编程VS2008)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Error 1
The type 'Microsoft.Office.Tools.AddIn' exists in both 'c:\Program Files\Reference Assemblies\Microsoft\VSTO\v9.0\Microsoft.Office.Tools.Common.v9.0.dll' and 'c:\Program Files\Reference Assemblies\Microsoft\VSTO\v8.0\Microsoft.Office.Tools.Common.dll'
Error 2
The type 'Microsoft.Office.Tools.SmartTagCollection' exists in both 'c:\Program Files\Reference Assemblies\Microsoft\VSTO\v9.0\Microsoft.Office.Tools.Common.v9.0.dll' and 'c:\Program Files\Reference Assemblies\Microsoft\VSTO\v8.0\Microsoft.Office.Tools.Common.dll'
这些错误与我有什么关系?
我正在Visual Studio 2008(C#)中进行开发
提前致谢. :)
-dabeeyow
What do i have to do with these error?
I''m developing in Visual Studio 2008 (C#)
Thanks in advance. :)
-dabeeyow
推荐答案
您的系统中安装了多个版本(版本8、9).删除旧的,然后重试.
谢谢
-Amit.
Hi,
you have multiple version installed in your system(Version 8, 9). remove old one and try again.
thanks
-Amit.
您是否检查过是否在引用部分中意外引用了两个dll?
还要做一个干净的解决方案,然后尝试
rgds
Hi,
Have you checked whether you have not accidently referenced both dlls in the references section?
Also do one clean solution and try
rgds
这篇关于VSTO for Word(C#编程VS2008)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文