The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft.Office.Tools.Excel'

Visual Studio 2010 VSTO Excel 2007 add-in project. Trying to build the solution in Visual Studio I get the following:

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

The project is referencing the following assembly: C:\Program Files\Reference Assemblies\Microsoft\VSTO\v9.0\Microsoft.Office.Tools.Excel.v9.0.dll

On my machine this assembly is Product Version 9.0.21022.8. On other developer machines where the project builds successfully the assembly is Product Version 9.0.30729.1.

What do I need to install to upgrade these assemblies to v30729?

Thanks, Tom

Answers


Apparently the answer is to install Microsoft Visual Studio 2008 Service Pack 1 (we're using VSTO v3.0) - http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en

This will upgrade the Microsoft.Office.Tools.Excel.v9.0.dll assembly to Product Version 9.0.30729.1 which includes the Extensions namespace.


Need Your Help

how to modify the path of a .h file when using #include <>?

c gcc

when we use #include &lt; stdio.h > in linux platform, the compiler will search the stdio.h in /usr/include. How to change the path of using #include&lt;>?

Draw a Rectangle in Java

java swing shape

I want to draw a rectangle in Java on a Swing application, but I don't know how. I have looked at similar questions, none containing the answer I need. I have tried the following: