Developer Issues When Upgrading Solutions to Outlook 2010

This topic describes issues to consider before you upgrade existing solutions to Microsoft Outlook 2010.

Office 2010 Available in Both 32-Bit and 64-Bit Versions

Microsoft Office 2010 is available in both 32-bit and 64-bit versions. You do not need to recompile existing (32-bit) managed add-ins, if you expect the add-ins to continue to run only on computers with 32-bit Outlook installed. If you expect your add-in to run on computers installed with 64-bit Outlook, be sure that you have built or will rebuild the add-in using Microsoft Visual Studio Tools for the Microsoft Office system 3.0 Runtime, or Microsoft Office development tools in Microsoft Visual Studio 2010, with the Any CPU option selected for the target platform on the Build tab of the Project Properties dialog box. Add-ins built with such settings work for both 32-bit and 64-bit versions of Office 2010.

Customizing Inspector or Explorer Command Bars

Command bars are deprecated in the inspector and explorer in Outlook 2010. Although your add-in code that customized command bars in an inspector or explorer might still work in Outlook 2010, those who use your solution might not easily find your custom commands because those commands appear on the Add-ins tab of the ribbon in the customized inspector or explorer. Instead of using command bars, use the IRibbonExtensibility interface in an Outlook add-in. For more information about using IRibbonExtensibility to customize the Outlook user interface programmatically, see the article Extending the User Interface in Outlook 2010.

Customizing Shortcut Menus by Using Application Object Events

Customizations to shortcut menus using events such as ItemContextMenuDisplay on the Application object might not operate as expected. These events operate on a CommandBar object that is returned in the event. Because command bars are deprecated in Outlook 2010, use IRibbonExtensibility to customize shortcut menus programmatically. For more information about customizing shortcut menus, see the article Extending the User Interface in Outlook 2010.

See Also

Concepts

New Extensibility Features in the Outlook PIA

Other Resources

What's New in the Outlook 2010 PIA Reference