Visual Studio 2022/XLL SDK issue – debugger looking for exe file instead of xll

68 Views Asked by At

I have used the latest (2013) Excel XLL SDK and VS 2022 Community version to successfully build and run the 64-bit sample Generic.XLL. An XLL is a C-language DLL with additional code for Excel add-in support. Generic.XLL makes 3 sample functions available in Excel. I built the project straight from the MS XLL SDK sample project solution file Generic.sln.

I am having trouble getting the debugger going. After inserting breakpoints and starting the debugger, I get the following error message:

“Unable to start program…. C:...file path…\GENERIC.exe’. The system cannot find the specified file.”

Of course the debugger can’t find Generic.exe. The project solution does not build an EXE file, it builds the output file Generic.xll.

Why is the debugger looking for an EXE file instead of the XLL file? Any suggestions for how to get the VS 2022 debugger to open the output file with the correct XLL filename extension?

Please and thanks for looking! I am a newbie with VS 2022.

I have tried renaming the filename extension of the output xll file to exe before initiating debug, but I receive the same error message.

0

There are 0 best solutions below