Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5928307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:16:38+00:00 2026-05-22T14:16:38+00:00

We need to create a VSTO add-in in C# that supports both Outlook 2007

  • 0

We need to create a VSTO add-in in C# that supports both Outlook 2007 and 2010.

To start off we created 3 projects:

  1. File->New Project->Office->2007->Outlook 2007 Add-in
  2. File->New Project->Office->2010->Outlook 2010 Add-in
  3. File->New Project->Windows->Class library

All shared code is in project #3.

So far, we have partially developed the add-in and have been using ClickOnce deployments for testing.

One day, we noticed someone installed the 2010 add-in for 2007 Outlook and had no ill effects whatsoever.

So a few questions:

  • Is there any reason to create the
    2007 VSTO project? Can we just
    create the 2010 project?
  • Or is the only difference the version of
    the office runtime that is
    bootstrapped by the ClickOnce
    installer? Can you just install the 2010 runtime for Outlook 2007?
  • If there is no difference, why are
    there two Visual Studio project
    templates?

In our final solution, we will be using a WiX installer, which is also working thus far. The WiX installer will be simplified greatly if we can use 1 project for the add-in.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:16:38+00:00Added an answer on May 22, 2026 at 2:16 pm

    Is there any reason to create the 2007 VSTO project? Can we just create the 2010 project?
    You can just use the 2010 project, but if you accidentally reference any 2010 ONLY api’s, for example accessing any of the new conversation API’s will cause your add-in to blow up in 2007.

    Or is the only difference the version of the office runtime that is bootstrapped by the ClickOnce installer? Can you just install the 2010 runtime for Outlook 2007?
    Basically you are writing a VSTO 3.0 add-in, which works for both 2007 and 2010. VSTO doesn’t actually care which template you are writing for, only that your add-in is a VSTO 3.0 add-in.

    If there is no difference, why are there two Visual Studio project templates?
    2 reasons that I can see, F5 debugging support, and to make sure you do not access a new API’

    If you do go down the only 2010 add-in road, I suggest you do a compile of the solution against the Microsoft.Office.Interop.Outlook v12 PIA which will show you any new API’s that you are accessing. If you do want to target some of these new API’s only IF your add-in is hosted in 2010 then have a look at http://blogs.msdn.com/b/vsto/archive/2010/06/04/creating-an-add-in-for-office-2007-and-office-2010-that-quot-lights-up-quot-on-office-2010-mclean-schofield.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've successfully created a VSTO Add-In for Outlook 2007 in VS2010, yay! Now comes
I need create a dockable window for my Visio 2010 add-in developed with VSTO,
I have a requirement to create an installer for an Outlook 2003 add-in that
I need to create an outlook addin that will do the things I listed
I just created a VSTO Add-In for Office 2010. How how do I know
I need create xls-file with own data. But file may already be created, and
I need to develop an Outlook 2010 add-in and I am new to Visual
Background: I'm using MEF to help compose an Excel 2007 Add-In (VSTO) that can
I have dynamically created WrapPanel (_wp) with several Borders. And I need create handler
I need create a vector z in numpy such that z[i] = 1/(1+i). Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.