Skip to content

Conversation

@archiesaxenaa
Copy link
Contributor

For the Bug : https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/36076480/

Fix: Proper add‑in cleanup on debug stop

office-addin-debugging start registers add-ins via atk install, but office-addin-debugging stop did not call atk uninstall, leaving add-ins registered after the debug session ends.

Change:
Added a custom uninstall script that extracts the Manifest ID and calls atk uninstall before running office-addin-debugging stop. Updated package.json to route stop through this script.

Result:
Clean add-in unregistration when office app is closed and debug is stopped.

image (1)

Copy link
Contributor

@samyakjainmicrosoft samyakjainmicrosoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should make changes on office-addin-debugging side, this is not the recommended way

@archiesaxenaa
Copy link
Contributor Author

you should make changes on office-addin-debugging side, this is not the recommended way

Updated PR: OfficeDev/Office-Addin-Scripts#968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants