We recommend using Visual Studio 2017

How to: Roll Back a ClickOnce Office Solution to an Earlier Version

When you create multiple versions of an Office solution, you can automatically go back to an earlier version. This process is called rolling back the solution, or a rollback.

Note Note

Local data is saved for only one previous version of a solution. If you roll back two versions, local data is not retained. For more information, see Deploying Office Solutions and Accessing Local and Remote Data in ClickOnce Applications.

Applies to: The information in this topic applies to document-level projects and application-level projects for Microsoft Office 2013 and Microsoft Office 2010. For more information, see Features Available by Office Application and Project Type.

To roll back to an earlier version

  1. Open the installation location of the Office solution.

  2. In the top-level publish folder, delete the deployment manifest (the .vsto file).

  3. Find the subfolder for the version you want to roll back to.

  4. Copy the deployment manifest from that subfolder to the top-level publish folder.

    For example, to roll back a solution called OutlookAddIn1 from version to version, copy the file OutlookAddIn1.vsto from the OutlookAddIn1_1_0_0_0 folder. Paste the file into the top-level publish folder. This overwrites the version-specific deployment manifest for OutlookAddIn1_1_0_0_1 that was previously there.

    The next time the application or customized document checks for updates, the deployment manifest change is detected. The earlier version of the Office solution runs from the ClickOnce cache.

    For more information about the publish folder structure, see Publishing Office Solutions by Using ClickOnce.