VSTO Developer Center is now part of the Office Developer Center

In order to provide a more integrated experience for folks building custom solutions on the Office platform, we’ve merged the content from the VSTO Developer Center into the Office Developer Center. You’ll still find great learning content there including: Getting Started with Office Development with Visual Studio (VSTO)  Excel Solutions Write code to work with… Read more

Sharing a Ribbon Customization Between Office Projects in Visual Studio 2010 (McLean Schofield)

A customer on the VSTO forums recently noticed that the steps we blogged about for sharing a single Ribbon customization between multiple projects in Visual Studio 2008 no longer works in Visual Studio 2010. When following the instructions in the blog post, you get an error when you try to open the Ribbon code file… Read more

Troubleshoot VSTO Add-In Load Failures (Navneet Gupta)

We have helped many developers in troubleshooting VSTO add-in load failures. Hamed has written a very nice blog post explaining the basic steps to troubleshoot VSTO add-in load failures. Even if you have not faced this issue yet, I recommend reading the post because it contains basic information about Office add-ins that developers should know…. Read more

Creating an Add-in for Office 2007 and Office 2010 that "Lights Up" on Office 2010 (McLean Schofield)

Managed Office add-ins traditionally have been able to run in the targeted application (the version of the application whose PIAs the add-in references) and in later versions of the application. Therefore, if you need to create a single VSTO add-in that can be run in multiple versions of an application, the typical guidance is to develop the add-in by using a project template… Read more

Handling Sort and Filter Events in Excel (Navneet Gupta)

Recently I helped two customers that were trying to solve this problem. They wanted to get notifications whenever Excel sorted or filtered data. This is not as easy as it sounds because Excel does not raise any events for sorting and filtering. I found two possible solutions, one of which requires much less coding but… Read more

Why Should I Upgrade from .Net Framework 3.5 to .Net Framework 4 ? (Navneet Gupta)

I was chatting with some of my friends about Visual Studio 2010 and .Net Framework 4 and they asked me why should they move their application to .Net Framework 4, I am answering the question here for everybody to benefit. Frankly speaking there is no definitive answer; it is like there is no single pill… Read more

Upgrading VSTO Projects to use with Visual Studio 2010 (Navneet Gupta)

The first thing that you notice after opening your existing projects in Visual Studio 2010 is the very familiar Visual Studio Conversion wizard. Internally we call it Project Migration wizard. Personally I love this wizard because of its simplicity, my converted projects are only few clicks away. In this post I’ll walk through this wizard… Read more

Deploying COM Add-ins for 64-bit Office using Visual Studio (Saaid Khan for Nathan Halstead)

Nathan Halstead is a Program Manager on the Visual Studio Team. He is responsible for various aspects of Visual Studio extensibility, and is an avid ice hockey enthusiast. On occasion, he’s been known to guest author technical articles on various Microsoft blogs and forums. My only contribution to this blog is posting it here :)…. Read more

Why is FrameworkVersionMismatchException thrown? (Hamed Ahmadi)

The “Microsoft.VisualStudio.Tools.Applications.Deployment.FrameworkVersionMismatchException” is thrown due to the specific implementation of how VSTO 2010 runtime loads the appropriate CLR to install a VSTO customization. This exception is thrown when both .NET Framework 3.5 (CLR 2.0) and .NET Framework 4 (CLR 4) are installed on a machine and a VSTO customization which targets .NET Framework 4 is… Read more

Show and Hide Context Menu Items in Outlook 2010 (Norm Estabrook)

If you have written code that shows and hides context menu items in Outlook 2007, that code might not behave well in Outlook 2010. That is exactly what happened to this individual who recently posted to the VSTO forum. The command bar object model (which most folks use to muck around with menus) has been… Read more