Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
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'



What do i have to do with these error?

I'm developing in Visual Studio 2008 (C#)

Thanks in advance. :)

-dabeeyow
Posted
Updated 16-May-12 20:05pm
v3

Hi,

you have multiple version installed in your system(Version 8, 9). remove old one and try again.

thanks
-Amit.
 
Share this answer
 
v2
Comments
dabeeyow 17-May-12 2:12am    
Actually I have VS2005 and VS2008. I uninstalled VS2005 but nothing's happen. I also tried to remove VSTO3.0 same errors.

Thanks!

-dabeeyow
Hi,

Have you checked whether you have not accidently referenced both dlls in the references section?

Also do one clean solution and try

rgds
 
Share this answer
 
Comments
dabeeyow 17-May-12 2:27am    
No multiple ddls referenced, just follow what you've said, I Clean Solution but same error appears.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900