I use Microsoft Visual Studio Community 2022 Version 17.8.3 to develop a Word Add-in.
I had no problem using it until today. I executed my solution but it appears that my taskpane doesn't load. I inspected it with DevTools and my taskpane is just entirely void (no HTML, CSS nor JS code, just nothing). The situation is the same for all others add-ins I downloaded. My manifest file loads properly though (the icons in my ribbon appear even though they cannot execute functions).
The weird thing is that my add-in actually works when I stop the debugger or detach all. When I do it, I can click on my "show taskpane" button and it loads properly. And if I just open Word without using VS, the add-ins I downloaded are also working normaly.
Did you already meet this problem? Do you have any guess how to resolve it?
Thanks a lot!
First of all, make sure that HTTPS protocol is used in both scenarios. The browser developer tools (especially the Network tab) or Fiddler can help you to figure out how everything is loaded.
There is a known issue, see https://github.com/OfficeDev/office-js/issues/3889 .