References in VSTA Project

I'm creating my first VSTA macro. Working in SW 2010 64-bit on Windows 7.

I'm using the SW project template. When the project is created, I get 14 errors and one warning.

Example:

This code is generated by the template (I suppose):

    Partial Public NotInheritable Class SolidWorksMacro
        Inherits SolidWorks.OuterDispProxy

But "Type SolidWorks.OuterDispProxy is not defined".

I suppose I need to set some references?

Any ideas?

Thanks.

SolidworksApi macros