"Breakpoint will not be hit...Binary not built with debug information."
A couple of years ago, I made an Excel Add-In with Visual Studio 2021 and ExcelDNA 1.1 (I think). Everything was debugging and compiling fine.
I've recently upgraded to Visual Studio 2022 and ExcelDNA 1.6.0.
It's compiling and the UDFs appear to be working in Excel, but when debugging the code, it's ignoring breakpoints.
The Breakpoints manager indicates that "This breakpoint will not currently be hit. No symbols have been loaded for this document."
And in the Modules list, for the XLL that was created, it says the symbol status is "Binary was not built with debug information."
When I look in the [project]\bin\Debug folder, a [project].pdb has been created.
Any suggestions for how to get the breakpoints working in VS?
Thanks.