newbie debugging question

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hello All:

I have created a .NET Winform project that contains a binary reference to a
..dll. Because I wrote the .dll, I also have access to the related source
code, which is contained in a different solution than the Winform project.

I would like to be able to step through the .dll code while debugging my
application, but I'm not sure of how to configure the IDE to accomplish this
task.

I would appreciate any insight.

Thanks,
Chris
 
Hi

Try adding the refrenced dll's project into the solution.
Then remove the refrence to the dll, and add a refrence to
the project.

Gary
 
you have to put both projects in the same solution, in the application that
references the dll, set a reference to the dll project instead of the dll
itself. set the executeable application as the start up project in the
solution and then start the debugger.
 
Thanks for your input.

Because of the amount of the source code associated with the .dll I am
referencing, I would prefer to not recompile that code every time I
recompile my Winform project.

Are there any methods for stepping through the code in a .dll if the source
code is in a different solution?

Thanks again.

Chris
 
Hi Chris

Once you have followed the previosu steps I gave you, right click on the
solution in the solution explorer, and click on Configration Maneger. There
you can untick build next the referenced project.

When you change the code of the referenced project, you will need to biuld
it manualy.

Gary
 
Back
Top