Persisting Settings across Outlook updates

Simon 1 Reputation point
2021-03-26T05:49:51.593+00:00

I have written and Outlook 365 Add-in in C# and have been using the Settings [Properties.Settings.Default.Save] method to persist those user settings across sessions.

However, every time the Outlook application is updated, a new version of the settings file is created from the original default, rather than copying the previous settings file.

The settings files live here. C:\Users*[User]*\AppData\Local\Microsoft_Corporation[Add-in]
Browsing this directory shows a folder for each Outlook version since the add-in was created.

How can these settings be persisted across the Outlook updates?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,963 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.