Visual Studio has a habit of opening the wrong file in my solution - only a small proportion of the time, but several times a day and often enough to be annoying. It can happen when doing any of the following:
Opening a file from solution explorer
Using F7 to switch between aspx and code behind
Right clicking a method and selecting "go to declaration"
Has anyone else experienced this and have any ideas as to what could cause / fix this?
Update: I've finally got round to installing SP1 and it still occurs so I'm back to looking for a solution.
In case it's relevant, I've got both Resharper 5.1 and Visual Studio Productivity Power Tools installed.
Update 2: It looks like Visual Studio Productivity Power Tools was part of the problem, I’ve uninstalled it and have not had issues since.
I uninstalled Visual Studio Productivity Power Tools and it now works.
Have you service pack 1 installed?
Related
I've been using Visual Studio 2017 15.7 Preview 2 since it was released -- and Preview 1 prior to that. My experience has been pretty good with it.
All of a sudden today, I just can't get into my project any more. When I click the solution open, I get the "Preparing Solution" message and it just hangs there.
If I try clicking anything in Visual Studio, I get the following message but it doesn't really solve anything.
Anyone else is having this issue? Any idea how to fix it? I just can't work on my project because of this issue.
P.S. I've been using the preview version because I wanted to work in ASP.NET Core 2.1 which requires the preview version of Visual Studio 2017.
Found the answer here. In my case, deleting the .vs folder fixed the issue.
https://developercommunity.visualstudio.com/content/problem/24938/vs2017-not-responding-when-opening-a-solution.html
I have installed Visual Studio 2015 Community Edition via Unity's installer and some of the options windows look like this:
Nothing fixes it; uninstalling-installing, formatting or installing on different machines. Apparently no one complains about this issue because there seems to be nothing on search results, but I'm 100% sure that everyone is experiencing this issue. When you open Visual Studio on its own, problem goes away, it works like it should. However, making Unity open Visual Studio causes it. I assume that this is caused by Unity forcing Visual Studio to load a plugin (probably Visual Studio Tools for Unity) which is actually incompatible with almost everything in Visual Studio.
Is there a solution to this problem? It drives me crazy and I don't want to use MonoDevelop.
Recently I've been having some major performance issues with my Visual Studio 2013.2 Ultimate. Doing anything in Visual Studio (editing a code file - each mouse click / key press has a delay of 1-2 seconds, navigating in Visual Studio menus - the who environment is very unresponsive)
I have tried a number of things to improve the performance - I have uninstalled the custom AddIns, I have tried switching on and off "Automatically adjust visual experience based on client performance". I have not quiet gone as far as doing a complete reinstall of Visual studio - and hoping I wouldn't have to go that way.
Is there any other way to debug the performance issues of Visual Studio? I have not had any issues with it in the past - but it is driving me absolutely insane.
Any recommendations are greatly appreciated!
Thanks,
Nick
I apologize as this may seem as bit of a general question.
I have developed a couple of VB programs using Visual Studio 2010 Professional and others on Visual Studio 2013 Ultimate. While I have not done any work in about a month with either version of Visual Studio, I thought I would go in and start work on a new project.
After entering some code in Visual Studio 2010 using WinForms, I found I was unable to run the code in the debugger (pressed the start button and F5).
It acted like it would start, then it just stopped and returned back to my code.
I thought I would try it on another program that was completed and working a couple of months ago, but I had the same issue present itself. Attempting to use Visual Studio 2013 had the same effect.
Any ideas from anyone? Has anyone else experienced this same issue recently? Once again, I do apologize for the lack of examples here, but I'm not sure what I can include to show the problem.
IMO, you should try resetting visual studio settings (and a restart may solve the issue)
you can try following
do it via visual studio -> tools -> import export settings
or you can run this command devenv /resetuserdata
or checkout this http://msdn.microsoft.com/en-us/library/ms241273.aspx
Does anyone know what extension causes this whenever you remove a project from a solution in Visual Studio 2010?
Microsoft Visual Studio
Visual Studio has encountered an unexpected error.
OK
I've been having this problem for a while.
I have installed four extensions from the Online Gallery:
I Hate #Regions v1.2.6
Productivity Power Tools v10.0.20626.18
Visual Studio Background Customizer v1.0
Visual Studio Color Theme Editor v1.3
For me, the offending extension is Productivity Power Tools.
I have just confirmed this by turning off all of my extensions, then enabling one (and only one) at a time, removing a project from a solution, and then attempting to save the solution.
With Productivity Power Tools as the only enabled extension, I received the "Visual Studio has encountered an unexpected error" message.
Hope this helps.