Aug 20 2020
12:26 AM
- last edited on
Feb 01 2023
12:42 PM
by
TechCommunityAP
Aug 20 2020
12:26 AM
- last edited on
Feb 01 2023
12:42 PM
by
TechCommunityAP
We developing an Add-in project by using C# and vsto. Add-in receives list of operations to be performed from the server with a Task sending HTTP request. Our Add-in operates creating a hidden folder, searching around folders, moving an email to the hidden folder and flagging emails. Before performing operations on the hidden folder, we unhide that folder. When the operation is done, we hide the folder again. The UI thread gets stuck when the Outlook is minimized and reopened, but Add-in operations can still be performed. What could cause the user interface to freeze?
Aug 24 2020 05:57 AM
@gorhem Hello, I have no idea. But take a look at this page for guidance how to test and debug Office Add-ins https://docs.microsoft.com/en-us/office/dev/add-ins/testing/test-debug-office-add-ins
Aug 25 2020 12:43 AM
@ChristianBergstrom Thank you for your advice, we can debug our Outlook Add-in with Visual Studio, but we can't find what's causing the UI stuck. It would be great if you know a way, like logging, to get Outlook to tell us clearly why it's frozen. By the way, the Outlook logs are very complicated :).
Aug 25 2020 01:00 AM
@gorhem Hello, maybe this can provide some answers https://support.microsoft.com/en-us/office/what-is-the-enable-logging-troubleshooting-option-0fdc446...
If it doesn't I suggest you open up a support case with the official MS support and provide requested logs to them.
Good luck!