Hello!
What kind of problem it can be?
I have VS2008 Pro. I'm trying to create add-in for Office 2003 using
Office
Template with compatibility .NET 2.0.
I'm creating new project in VS. Then when i press F5 (build and run), I'm
getting 9 errors from designer.vb....
Those errors are from clear project "Outlook 2003 add-in" with set .NET
2.0.
I have .NET 2.0 installed.
Error 1 Type 'Microsoft.Office.Tools.AddIn' is not defined.
Error 2 Too many arguments to 'Public Sub New()'.
this line -
/////MyBase.New(CType(RuntimeCallback.GetService(GetType(Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider)),Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider),
RuntimeCallback, "AddIn", Nothing, "ThisAddIn") /////
Error 3 'OnStartup' is not a member of 'OutlookAddIn3.ThisAddIn'.
Error 4 sub 'OnShutdown' cannot be declared 'Overrides' because it does
not
override a sub in a base class.
Error 5 'OnShutdown' is not a member of 'Object'.
Error 6 'BeginInit' is not a member of 'OutlookAddIn3.ThisAddIn'.
Error 7 'EndInit' is not a member of 'OutlookAddIn3.ThisAddIn'.
Error 8 Event 'Startup' cannot be found.
Error 9 Event 'Shutdown' cannot be found.
Any ideas?
Thanks
Leszek