1

I am newbie on VS-2010 Add-Ins so I started with this walkthrough:

But when I am building my Project I get the following error:

'EnvDTE80.Window2' does not contain a definition for 'CreateToolWindow2' and no extension method 'CreateToolWindow2' accepting a first argument of type 'EnvDTE80.Window2' could be found (are you missing a using directive or an assembly)

I have added the assembly reference in my Project (actually the Add-In wizard did). Any suggestions?

chaliasos
  • 9,659
  • 7
  • 50
  • 87

1 Answers1

2

It is Windows2.CreateToolWindow2(). Note the s after "Window".

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536