Can't open Excel directly from Visual Studio while Debugging
09:33 12 Jan 2026

So I have a xll Excel COM AddIn. It worked fine all the time but since today, I can't start it while debugging. So if I'm in Visual Studio and click start debugging. This message appears:

Error Message

I can start it perfectly fine from a console or from anywhere. I can even start it from Visual Studio, just without debugging.

Can anyone help me?

excel vb.net visual-studio debugging excel-addins