I’m trying to debug my dll and I have the pdb file next to the dll and I still can’t step into the method. What else am I missing?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The version of the assembly loaded in your application is not the version that is loaded in Visual Studio.
If both projects are in the same solution, ensure you are adding a reference by using a Project Reference rather than browsing to the /bin folder. In cases like this, you may browse to the /bin/release version, then set the Build to Debug, causing the problem you are experiencing.
If projects are in two different solutions, ensure the solution you wish to debug is cleaned and rebuilt, and then re-add the reference to the fresh assembly in the running project.