Megosztás a következőn keresztül:


How to: Install the Visual Studio Tools for Office Runtime Redistributable

The Visual Studio 2010 Tools for Office Runtime must be installed on each computer that runs solutions that are created by using the Microsoft Office developer tools in Visual Studio. The runtime is installed automatically when you install Visual Studio, Microsoft Office 2013 or Office 2010. For more information, see Visual Studio Tools for Office Runtime Installation Scenarios.

You might need to follow the manual installation instructions below in the following situations:

  • You need to install the Visual Studio Tools for Office runtime on a server. For example, you want to use the ServerDocument class to manage document-level solutions on a server.

  • You need to install the runtime on a computer that already has all the other prerequisites for Office solutions installed.

    Note

    You must be an administrator on the development computer to install the .NET Framework and the Visual Studio Tools for Office runtime.

To install the Visual Studio Tools for Office runtime

  1. Install the .NET Framework 4 or the .NET Framework 4.5.

  2. Run vstor_redist.exe to install the Visual Studio Tools for Office runtime.

    You can download these setup files from Visual Studio 2010 Tools for Office Runtime. The prerequisites for the Visual Studio Tools for Office runtime match the prerequisites for the .NET Framework.

    The Visual Studio Tools for Office runtime includes language packs. If your installation of Windows is set to a language other than English, you can display runtime messages in the same language that you use for Windows. Similarly, if end users install the Visual Studio Tools for Office runtime and then run your solutions on installations of Windows that are set to a language other than English, runtime messages will appear in the same language as Windows. In some cases, you might need additional language packs. For example, you might need additional language packs if your copy of Windows uses more than one language setting, or you switch to another language after you’ve already installed the Visual Studio Tools for Office runtime. You can find language packs at Microsoft Visual Studio 2010 Tools for the Microsoft Office System (Version 4.0 Runtime) Language Pack.

See Also

Tasks

How to: Configure a Computer to Develop Office Solutions

How to: Install Office Primary Interop Assemblies

Concepts

Managing Documents on a Server by Using the ServerDocument Class

Other Resources

Getting Started (Office Development in Visual Studio)

Configuring a Computer to Develop Office Solutions

Deploying an Office Solution