
Understanding the Different Runtime Versions
Visual Studio Tools for Office solutions for different versions of Microsoft Office require different versions of the runtime. The runtime version is determined by the project template that was used to create the solution, not by the version of Office that is running the solution.
The following table shows which versions of the runtime and Microsoft Office are required to run solutions on the end user computer.
Project template version
|
Required Visual Studio Tools for Office runtime version on the end user computer
|
Microsoft Office versions that can run the solution on the end user computer
|
|---|
Projects for the 2007 Microsoft Office system
|
Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime)
|
2007 Microsoft Office system
|
Projects for Microsoft Office 2003
|
Visual Studio 2005 Tools for Office Second Edition runtime
|
2007 Microsoft Office system
Microsoft Office 2003
|
Both versions of the runtime are installed automatically on the development computer when you install Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0).
For information about creating solutions that can run with both versions of Microsoft Office, see Creating Solutions for Multiple Versions of Microsoft Office.
There are some differences between the assemblies that are included in each version of the runtime. For more information, see Assembly Differences.
Note: |
|---|
The
Visual Studio 2005 Tools for Office Second Edition runtime was initially released with Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System (VSTO 2005 SE). This version of the runtime is also used by solutions for Microsoft Office 2003 that are created by using Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0).
|
Locating Reference Documentation for Both Runtimes
When you click a link or an index entry in Help to get reference information for a namespace, type, or member, you might get two almost identical results. The two topics document the same members in the two versions of the runtime. Select the topic that is identified by the appropriate version indicator:
2007 System. This refers to the Microsoft Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime).
2003 System. This refers to the Visual Studio 2005 Tools for Office Second Edition runtime.