I am getting the following error when compiling a Boo project which uses interop:
textbox = _ActiveWorkSheet.Shapes.AddTextbox(MsoTextOrientation.msoTextOrientationHorizontal, left, top, width, height)
The best overload for the method 'Microsoft.Office.Interop.Excel.Shapes.AddTextbox(Microsoft.Office.Core.MsoTextOrientation, single, single, single, single)' is not compatible with the argument list '(Microsoft.Office.Core.MsoTextOrientation, single, single, single, single)'. (BCE0017)
As you can see the signatures are the same, the issue seems to be recognising MsoTextOrientation.
I installed PIA for 2010, can add a reference to COM "Microsoft Office 14.0 Object Library", and can import the Microsoft.Office.Core namespace from it. It just falls apart at the method signature.
I am using boo compiler version 0.9.1.3287, as embedded in Sharpdevelop 3.2.1.
Any ideas?