Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging Excel Office Add-in with Visual Studio now requires Administrator mode

We can no longer run our Excel Add-ins in debug mode.

This can be replicated by creating a new project in Visual Studio from the template: "Excel Web Add-in". When the solution is run, the Add-in does not load, there is a loading spinner in the Task Pane:

enter image description here

This was working fine until the last week or two so perhaps a Windows or Visual Studio update has caused this?

If Visual Studio is launched in Administrator mode then the Add-in runs as expected and the Task Pane loads. In addition, saving to local storage seems to not work when Visual Studio is in Admin mode.

Has anybody else experienced this and if so is there a solution? Thanks.

like image 961
Andy Sinclair Avatar asked Dec 06 '25 13:12

Andy Sinclair


1 Answers

Adding my support. Spent all last week on this. I eventually setup a clean VM to test.

  • Win 11 VM
  • VS 2022 Community 17.8.3.
  • Office 365 build 17023.20068.

Created a new Word Web add-in and Excel Web add-in projects. Same result, F5 debugging the task pane is blank, DevTools shows no reply from localhost. Run VS as Admin - works.

like image 181
Alfontz Avatar answered Dec 08 '25 09:12

Alfontz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!