Visual Studio 2010 opens the wrong file

Visual Studio has the habit of opening the wrong file in my solution - only a small part of the time, but several times a day and often enough to annoy. This can happen when any of the following is true:

  • Opening a file from Solution Explorer
  • Using F7 to switch between aspx and code behind
  • Right click on the method and select "go to declaration"

Has anyone else experienced this and had any ideas as to what might cause / fix this?

Update: I finally got the installation of Service Pack 1 (SP1), and it is still there, so I'm looking for a solution again.

In case this is appropriate, I have installed both Resharper 5.1 and Visual Studio Productivity Power Tools.

Update 2: It seems that Visual Studio Productivity Power Tools was part of the problem, Ive uninstalled it and had no problems since then.

+5
source share
2 answers

I uninstalled Visual Studio Productivity Power Tools and now it works.

+4
source

Is service pack 1 installed?

+1
source

All Articles