logo
search
Office Compatibility Issues

Fix VSTO Runtime Compatibility Issues for Excel Add-ins

Chanuka GeekiyanageChanuka Geekiyanage Sep 28, 2026 870 views

Question details

The user is experiencing compatibility issues where an Excel add-in built with Visual Studio 2019 requires VSTO 2010 Runtime in older Office versions but works without it in newer versions.

Fix VSTO Runtime Compatibility Issues for Excel Add-ins
Product
Microsoft Excel
Device & OS
not provided
Scenario
Deploying a custom Excel add-in across different versions of Microsoft Office (2010, 2013, 2019, Microsoft 365).
Observed behavior
The add-in fails to run on Office 2010 and 2013 without manually installing the Visual Studio 2010 Tools for Office Runtime, but operates normally on Office 2019 and Microsoft 365.
Before you start

Verify the exact versions of Microsoft Office installed on the target machines and ensure you have access to the add-in's original Visual Studio project files.

Solution 1Recommended

Verify Target Framework and Update Prerequisites in Visual Studio

Check your project's target framework and deployment prerequisites to ensure the necessary runtimes are automatically bundled for older Office versions.

Office 2019 and Microsoft 365 typically include the necessary VSTO runtime components built-in, whereas older versions like Office 2010 and 2013 require the runtime to be installed separately. By updating your deployment package, you can automate this process for end users.

1
Open Project Properties

Open your Excel add-in project in Visual Studio 2019. Right-click the project name in the Solution Explorer and select 'Properties'.

2
Check Target Framework

Navigate to the 'Application' tab and check the 'Target framework' dropdown to ensure it aligns with the requirements of your target Office versions.

3
Configure Prerequisites

Go to the 'Publish' tab and click on the 'Prerequisites' button.

4
Include VSTO Runtime

Ensure the checkbox for 'Visual Studio 2010 Tools for Office Runtime' is selected. This forces the installer to download and install the runtime on client machines that lack it.

Verify Target Framework and Update Prerequisites in Visual Studio
Deployment Package Updated: Rebuilding and publishing the project will now generate an installer that handles the VSTO runtime dependency automatically for Office 2010/2013 users.
Free Microsoft Office alternative

Try WPS Office for a Lightweight Spreadsheet Experience

While custom VSTO add-ins are specific to the Microsoft Office development environment, WPS Office offers a streamlined, highly compatible, and free alternative for everyday spreadsheet tasks. It natively supports standard Excel formats without the overhead of complex runtime dependencies.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen instructions to install the lightweight suite.
  3. 3. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files directly to enjoy a seamless, runtime-free experience.
Fully compatible with Microsoft Excel (.xlsx, .xls) formats.Lightweight installation with no need for complex runtime downloads.Free to use with a familiar, easy-to-navigate user interface.Cross-platform support for Windows, Mac, Linux, iOS, and Android.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Excel add-in need VSTO 2010 Runtime on older Office versions?

Older versions like Office 2010 and 2013 do not always have the latest VSTO runtime embedded or updated by default. Installing the VSTO 2010 Runtime bridges the architecture gap between your modern Visual Studio code and the older Office application.

Can I run VSTO Excel add-ins in WPS Office?

No, VSTO (Visual Studio Tools for Office) is a proprietary Microsoft framework designed specifically for Microsoft Office architecture. WPS Office has its own add-in ecosystem and supports standard VBA, but it cannot execute Microsoft VSTO COM add-ins.

How do I include the VSTO runtime in my add-in installer?

In Visual Studio, right-click your project, go to Properties, select the Publish tab, and click Prerequisites. Check the box for 'Visual Studio 2010 Tools for Office Runtime' so it is bundled with your ClickOnce or Windows Installer package.

Does Microsoft 365 require a manual VSTO runtime installation?

Typically, no. Modern versions like Office 2019 and Microsoft 365 include the necessary VSTO runtime components out of the box, which is why your add-in works seamlessly on these platforms without requiring a separate download.