Hello there, I've installed VSTO to my pc and I'm trying to make an application using the MS Office in my VS (2008). I've already added the reference to Microsoft.Office.Tools but when I compile it, it gives me the error:

The type or namespace name 'AddIn' does not exist in the namespace 'Microsoft.Office.Tools' (are you missing an assembly reference?)

Do you have any idea why this comes out? Please help. Thank you.

make sure your reference is to C:\Program Files\Reference Assemblies\Microsoft\VSTO...... and not C:\Program Files\Common Files\Microsoft Shared\VSTO .......

Thanks, I have already changed it. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.