none
Visual Studio Tools for Office 2007 install for Visual Studio 2013 RRS feed

  • Question

  • Is there a "Visual Studio Tools for Office 2007" installation available for the "Visual Studio 2013 Community" version? If so, can someone direct me to where I can find it.

    I was able to install the VSTO March, 2014 update but only includes Office 2010 and 2013.  I need to do development for Office 2007 and would like to do it in VS 2013.


    • Edited by Ptownbro Wednesday, April 29, 2015 12:26 AM
    Wednesday, April 29, 2015 12:26 AM

Answers

  • Nope. You need to use previous versions of Visual Studio to be able to create Office 2007 add-ins. VS2013 allows creating Office 2010 and 2013 add-ins (version specific add-ins).

    But you can run an add-in created in VS2013 in Office 2007. You just need PIAs that correspond to Office 2007 to make sure that don't use any methods or properties introduced in later Office versions. See Running Solutions in Different Versions of Microsoft Office for more information. Here is what it states:

    If you developed solutions for Office 2010, you can run the same solutions in Microsoft Office 2013. If your customer base uses the 2007 Microsoft Office system, you can use Visual Studio 2013 to develop solutions that work in all three versions of Office. In this scenario, the solution will run without errors in the 2007 Microsoft Office system only if the solution doesn’t use features that are new in later versions of Office. Microsoft Office applications can also run solutions that were created by using a previous version of Visual Studio.

    Solutions that were created by using Visual Studio 2013, Visual Studio 2012 or Visual Studio 2010 can run in Office 2013, Office 2010, or the 2007 Microsoft Office system. However, the solution can use only those features and APIs that are available in all three versions of Office.

    Also you can embed interop types into the add-in assembly, see Walkthrough: Embedding Types from Managed Assemblies (C# and Visual Basic) . This feature was introduced with .net framework 4.0.
    • Edited by Eugene Astafiev Wednesday, April 29, 2015 6:42 AM
    • Marked as answer by Ptownbro Wednesday, April 29, 2015 8:18 PM
    Wednesday, April 29, 2015 6:36 AM

All replies

  • Nope. You need to use previous versions of Visual Studio to be able to create Office 2007 add-ins. VS2013 allows creating Office 2010 and 2013 add-ins (version specific add-ins).

    But you can run an add-in created in VS2013 in Office 2007. You just need PIAs that correspond to Office 2007 to make sure that don't use any methods or properties introduced in later Office versions. See Running Solutions in Different Versions of Microsoft Office for more information. Here is what it states:

    If you developed solutions for Office 2010, you can run the same solutions in Microsoft Office 2013. If your customer base uses the 2007 Microsoft Office system, you can use Visual Studio 2013 to develop solutions that work in all three versions of Office. In this scenario, the solution will run without errors in the 2007 Microsoft Office system only if the solution doesn’t use features that are new in later versions of Office. Microsoft Office applications can also run solutions that were created by using a previous version of Visual Studio.

    Solutions that were created by using Visual Studio 2013, Visual Studio 2012 or Visual Studio 2010 can run in Office 2013, Office 2010, or the 2007 Microsoft Office system. However, the solution can use only those features and APIs that are available in all three versions of Office.

    Also you can embed interop types into the add-in assembly, see Walkthrough: Embedding Types from Managed Assemblies (C# and Visual Basic) . This feature was introduced with .net framework 4.0.
    • Edited by Eugene Astafiev Wednesday, April 29, 2015 6:42 AM
    • Marked as answer by Ptownbro Wednesday, April 29, 2015 8:18 PM
    Wednesday, April 29, 2015 6:36 AM
  • Great. Thanks for the help and information. Very appreciated.
    Wednesday, April 29, 2015 8:18 PM