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.
Related
I'm using Xamarin with Visual Studio 2015. After a recent upgrade of the Xamarin plugin, I'm getting an error the first time I try to "Clean Solution" or "Build Solution" after launching Visual Studio:
The Xamarin license file is invalid and could not be recovered. You will still be able to access the Xamarin features that are included in Visual Studio Professional.
The error dialog offers a single option: "Use Visual Studio Professional". If I choose that option, I can re-try whatever operation I was using and it will work fine, and continue to work fine until I exit and re-launch Visual Studio.
I have found some older threads where people mention what seem like similar problems, but the solutions refer to using Tools->Xamarin Account, which does not appear anywhere in my Visual Studio "Tools" menu.
Specific versions in play:
Microsoft Visual Studio Professional 2015 14.0.25431.01 Update 3
Xamarin 4.8.0.754
Xamarin.Android 8.1.0.13
I have this same problem with a couple of different, unconnected solutions (one of which is using Xamarin.Android, another of which uses Xamarin.Forms).
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.
I installed Productivity Power Tools for Visual Studio 2012 and I guess one feature is either missing or turned off. I mean the tooltip that appears when howering on the classname and method name.
Here are the screens of what I mean. This is from VS 2010.
How can I turn on the same feature in the Visual Studio 2012 or is it just removed from this version of IDE?
The Solution Navigator has been incorporated into Visual Studio 2012 and is no longer part of the Productivity Power Tools extension. There also doesn't seem to be any way to enable interactive tooltips.
I downloaded and installed the PowerCommands.vsix extension for Visual Studio 2010.
But then, under Tools->Options there is no entry for the extension.
Visual Studio says that it is correctly installed in the Extension Manager.
Do you know where to find the tools?
Many thanks, Juergen
I've found these links:
social.msdn.microsoft.com
connect.microsoft.com
So it seems that this is a serious problem that may occur.
In my case only a clean reinstallation of VS2010 fixed the problem.
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?