compile the dll in dotnet

Posted by Krishnamanohar under C# on 4/22/2013 | Points: 10 | Views : 1030 | Status : [Member] | Replies : 1
Hi Experts,
how to debug the dll in c# if if know the problem is with the dll.
Thanks in advance


Posted by: Kmandapalli on: 4/23/2013 [Member] Silver | Points: 25


One Way:
Yes it is. You will need to disable Just My Code to enable this scenario though
Tools -> Options
Go to the Debugger section
Uncheck "Enable Just My Code ..."
You may still have to manually load symbols but after that you will be able to step into your other source.

Second Way:
Copy the .dll and .pdb files from your other solution into the bin/ folder of the web project that you're trying to debug. When you run it, it should let you step into the referenced code now. I just did this to debug a referenced membership provider and it worked.

Shree M.

Kavya Shree Mandapalli

Krishnamanohar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response