I have created a single solution with 2 projects in Visual Studio 2015 (Community)
I am able to build the solution successfully without any errors. However, when I start debugging I get the error that - VS cannot debug because a debug target has not been specified.
I am including some screen-shots for your reference.
I would appreciate your help
The screenshot doesn't contain the debugging settings of the startup project "Call_dll_test". When you start the Visual Studio debugger it will run the startup project.
Intel Customer Support
Should I change my startup project to the dll? Even when I change the start-up project to the dll, I get the same error message.
In the debug mode, I want to step through the exe code and then eventually step into the dll code as well. How do I achieve that?
Attached are the screen shots of the debug setting of the call_dll_test exe project.
You want the EXE to be the startup project here.
I'll also mention for those who may come here later, the situation where you have only a DLL project and your DLL is called by some EXE not developed by you (Excel, etc.) Here, you set the Debugging > Command project property to be the path to the EXE that will call your DLL.
My start-up project is the EXE project. If you look at the original post of my problem, I seem to have followed all the recommended settings (I am repeating them in this message for ready reference). yet I keep getting the error message.
I really would appreciate help in resolving the situation
How about a screenshot of Visual Studio with the error message displayed? I want to see the whole VS window. How are you starting debugging?
In the latest PDF, the Debugging > Command property for the CallDLLTest project is blank. You need to fix that. Typically it is set to $(TargetPath)