I'm trying to develop a pretty basic Outlook Add-in which currently is able to get information about the current open Email.
The Add-in is registered with Outlook and is able to show/work if i choose to Run the website (Casini webserver) and THEN start Outlook Desktop
But if i pick the Manifest Project as startup, and choose "Office Desktop Client" as Startup Action and Click F5 to debug.
Outlook starts up fine and the Add-in is "available" ... but it fails to function and instead gives me the error : "Add-In Error: This add-in could not be started... restart....yada yada"
Similarly i've had similar luck / unluck with VSCode and NodeJS Yeomen samples - where the debugger SOMETIMES work but USUALLY dont.
I've confirmed that im using WebView2 using the inspector.
Internet Explorer 11 has beed removed from the computer
I'm running exclusively with Edge Chromium
I've tried Visual Studio 2019 as well as 2022 but have the same problem.
Any tips / tricks to get this working ?