none
How to make my VSTO add-in compatible with Office 2013? RRS feed

  • Question

  • Hi,

    I am a VSTO developer.

    I have a add-in that was originally developed for Office 2007 (developed in Microsoft Visual Stuadio 2010, with .NET Framework 3.5, VSTO3.0 and linked it with PIA Office 12). But later inorder to make it compatible with Office 2010 we build it with .NET Framework 4 Client profile , VSTO4.0 and PIA Office14.

    Now there is a requirement for making this add-in compatible with Office 2013.

    In order to setup the developemt environment for making this add-in compatible with Office 2013, i have installed Visual Studio 2012 and Microsoft Office Developer Tools for Visual Studio 2012.

    The existing solution when opened in VS2012 is still using .NET 4 Client profile but linked with PIA Office15. When i build it, it works fine and loads the add-in in the Office 2013 ribbon.

    Please note my add-in needs to target now Office 2007,2010 and 2013.

    Keeping these in mind can you please answer the below questions:

    1) Is what i am doing ok? Or do i need to do anything more to make it compatible with the three office versions?

    2) Is there a new VSTO for 2013? If yes how do i get it?

    3)Is the PIA redistributable for Office 2013 available?

    Thanks,

    Saheli


    • Edited by Saheli Basu Thursday, April 4, 2013 10:54 AM
    Thursday, April 4, 2013 10:52 AM

Answers

  • Hi Saheli,

    I don't believe you need to do anything else, in fact you really didn't need to go to VS 2012.

    All of my apps are created using VS 2010, .Net 4.0. I build them on either a Office 2007 development machine or an Office 2010. When I tested for the Office 2013 compatibility I took Office 2010 versions directly to Office 2013. There were some changes that I had to make but they involved the way Office 2013 running on Windows 8 was dealing with color choices in Windows Forms.

    Hope this helps


    Kind Regards, Rich ... http://greatcirclelearning.com

    Thursday, April 4, 2013 1:06 PM
  • you should develop your add-in on vs 2010 since it is the latest that supports directly office 2007. You should also make necessary PIA libraries as private with your add-in so they get always deployed and you will not depend on globally installed PIA. office 2013 will load your addin built this way perfectly fine.
    Thursday, April 4, 2013 2:41 PM
  • sure, but if your add-in supprts office 2007, i would change it to pia 12 - this way you will not have to worry about using methods that do not exist on 2007.
    Friday, April 5, 2013 1:07 PM

All replies

  • Hi Saheli,

    I don't believe you need to do anything else, in fact you really didn't need to go to VS 2012.

    All of my apps are created using VS 2010, .Net 4.0. I build them on either a Office 2007 development machine or an Office 2010. When I tested for the Office 2013 compatibility I took Office 2010 versions directly to Office 2013. There were some changes that I had to make but they involved the way Office 2013 running on Windows 8 was dealing with color choices in Windows Forms.

    Hope this helps


    Kind Regards, Rich ... http://greatcirclelearning.com

    Thursday, April 4, 2013 1:06 PM
  • you should develop your add-in on vs 2010 since it is the latest that supports directly office 2007. You should also make necessary PIA libraries as private with your add-in so they get always deployed and you will not depend on globally installed PIA. office 2013 will load your addin built this way perfectly fine.
    Thursday, April 4, 2013 2:41 PM
  • Hi Rich Michaels,

    Thanks for the reply.

    I know VS2010 has Office 2007 and 2010 add-in projects but VS2012 has templates for Office 2010 and 2013. So i thought inorder to link my solution to Office15 PIA, i need to mighrate the code to VS2012.

    Based on your answer i don't think we need to move to VS2012 but will the solution linked with Office14 work in Office 2013? Because when i opened the solution in VS 2012 it gets linked to Office 15 PIA automatically.

    Also could you please tell me if there is a new VSTO for Office 2013?

    Also if the PIA redistributable for Office 2013 is available?


    Friday, April 5, 2013 7:44 AM
  • Hi DamianD,

    Thanks for the reply.

    Presently i am using the Office14 PIA. Should i use this as the private PIA library you mentioned?


    Friday, April 5, 2013 7:46 AM
  • sure, but if your add-in supprts office 2007, i would change it to pia 12 - this way you will not have to worry about using methods that do not exist on 2007.
    Friday, April 5, 2013 1:07 PM