Click here to Skip to main content
15,846,211 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a c# application of three different solutions, one windows form application and two class libraries. The Windows form is the startup solution and uses dll from the two class libraries. Now I added a breakpoint to one of these class libraries so I can see what's going on in the class library's method, and run the windows form but the program never stops at the breakpoint.It is in debug configuration as well.
What can the problem be?

By the way when I try to run this class library I get this error:

"Visual studio cannot start debugging because the debug target "F:\Dropbox\Leerjaar\RT-meter\07-software\modediagnose\bin\Debug\Dat.core.exe" is missing. Please build the project and retry, or set the outputPath and AssemblyName properties appropriately to point at the correct location for the target assembly."
Posted
Comments
ZurdoDev 29-Oct-15 8:46am    
Is your reference to the dll or to the project? When you right-click your main project and choose Add Reference did you browse to a dll or click on the Projects tab?
Member 11971544 29-Oct-15 8:48am    
browsed to a dll.
Philippe Mori 29-Oct-15 12:26pm    
Also ensure that appropriate projects are selected for build in the configuration manager...

1 solution

Add all projects in the same solution, specify the form app as the startup project, remove any dll references to the other projects from the forms project, reference the projects using a project reference instead. That will let you step into other projects and debug them.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 29-Oct-15 10:50am    
...and clean/rebuild the solution. Yes, most likely so, a 5. It was just a mess to eliminate.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900