I am not able to go to definition of my methods

Hi Experts,
I am not able to go to definition of my methods. For example, when I right click on the method name, GetEmployeeInfo and click on goto the definition on that window, it redirects me to a temporary folder called C:\User\username\AppData\Local\Temp\5952$DAL.dll$v4.0.30319$NoDynamic\XXX.DAL.EmployeeDetails.cs[metadata], where I can see only one line of code.  It does not redirect me to my original folder, which should be XXX.DAL.EmployeeDetails.  See the line below.  I just see only this line and definition of other methods.  But no other codes.

public static XmlDocument GetEmployeeInfo(int employeeId);

Please let me know if you have any idea about this issue. Thank in advance!
RadhaKrishnaKiJayaAsked:
Who is Participating?
 
RadhaKrishnaKiJayaConnect With a Mentor Author Commented:
Thank you Miguel for your response.
I followed your steps and deleted the only .suo file.  But did not work.

Here are the answers to your questions:
1. Yes, it was working before.
2. Did not get your question.  Please rephrase.
3. Windows 7 Pro
4. I did not install any third party tools/components/updates recently.

Thank you!
0
 
Jacques Bourgeois (James Burger)PresidentCommented:
See my answer to that one in your last question.
0
 
Miguel OzSoftware EngineerCommented:
Please follow steps below:
1.Close solution.
2.Delete hidden .suo file in folder where your solution's .sln file exists.
3.Open solution.
4.Rebuild solution.

If steps above do not solve your issue, please provide the following info:
1.Was it working before?
2. Did it work in a new project/solution?
3. OS/VS version?
4  Did you install VS third party tool/component/update recently?
0
 
RadhaKrishnaKiJayaAuthor Commented:
Thank you Jacques,
Let me try your steps and I will update you.  Thank you again.
0
 
RadhaKrishnaKiJayaAuthor Commented:
Miguel,
I was trying to open the .sln file in the wrong folder, resulting all the problems.  By mistake, the same solution file was in 2 different folders.  Now it is working fine.

Thank you very much for your help.
0
All Courses

From novice to tech pro — start learning today.