Visual Studio 2015 crashes when opening any solution - visual-studio

I have seen many solutions here about visual studio crashing. None of them have fixed my problem. In my case Visual Studio crashes when opening any type of solution, located on any drive based on any language (including opening it from Unity).
I tried deleting .suo files and it did not work. I tried installing updates and it did not work. I tried repairing and it did not work.
Is there any possible solution that can help me with this?

For some reason deleting component model cache did not help. But deleting component model cache for a previous version of visual studio (12.0) did in fact help. For some reason that was the culprit that created the problems

Related

Error Trying to reinstall Visual Studio 2019

There is 1 other post similar to this one, but its answer is kind of unclear and doesn't apply to my situation.
So, this is a bit of a long story, but it will help you understand my situation better.
First off, I am working with unity. I used Visual Studio in the past before so I didn't have the unity mod, because I did not think I would be using much unity. But now I am, I skimmed through this one youtube video and I thought I had to reinstall Visual Studio. So I made the mistake of deleting a bunch of Visual Studio files from my C: drive and deleting my recycling bin. How stupid of me. I could have just went to the Visual Studio mods website and downloaded it from there. I'm sorry for my stupidity. Anyways, when I tried reinstalling, it brought up this error:
Before we get started
Installation folder: 'C:Program Files(x86)\Microsoft Visual Studio\2019\Community' could not be found.
I tried reinstalling Visual Studio, but it just said the same thing.
Anyone have anything to help?
Try creating that folder and moving vs 2019 content into there

Why does visual studio crash when opening a solution

I've been having some issues using visual studio 2017. Whenever I try to open a solution, it immediately crashes. I've tried reinstalling and repairing it. I tried installing the 2013 version, but I still get the same behavior. I tried resetting settings, starting in safe mode, and deleting the .suo file. How can I fix this?

Search Solution Explorer greyed out [duplicate]

In Visual Studio 2015, every now and then my "Search Solution Explorer" is disabled. Doesn't seem to be any rhyme or reason to it, and often restarting Visual Studio or loading a different project does not help. I don't see anyone else on the internet complaining about this. Anyone run into this and have a fix?
I do have Resharper installed, and perhaps that's causing problems, though I believe I've run into this before I ever installed Resharper.
Alternatively, is there a third party extension I can install in Visual Studio 2015 to search by filename?
Renaming the .suo file worked for a colleague just now.
Delete the ".vs/projectname" folder from the "solutionname.sln" directory and restart visual studio should work.

Visual Studio 2013 crashes when loading project

Some time ago I started developing with Visual Studio 2013 Professional and everything worked well. But a few weeks ago I upgraded to the Ultimate version. But since then Visual Studio crashes when I load a project. VS just starts up normally, I can see the menu and log in and stuff like that. But when I open a project it crashes everytime. I tried to repair it VS in the control panel, but still the same problem... Then I reinstalled it but when loading a solution it crashed again. Now I downgraded to Professional again, but now even Professional crashes.
I have been searching on google for a long time to solve this problem. I tried to reconfigure the debugger, even reinstalled it, but no effect. A lot of forums say you have to delete the .suo file in the project, but even that doesn't work...
Is there a solution for this?
UPDATE
When Visual Studio crashes I get this error: https://i.imgur.com/VtaikJ5.png?1
My ActivityLog.xml is on OneDrive: https://onedrive.live.com/redir?resid=B3519F287A9CD3FC!2830&authkey=!AIUDHo1bCZan4Fk&ithint=file%2cxml
I already received the answer from the MSDN forum. And it was caused by the Web Essentials extension tool. And apparently with the Visual Studio Update 4 everything seems to be fixed. The extension tool was causing the error, and that error is fixed in the update.
Thanks for the support everyone!

Visual Studio 2010 package did not load correctly for uninstalled extesions

During visual studio startup I get lots of annoying dialogs about extensions package loading errors.
All the extensions that fail to load are those I uninstalled.
I checked all the places mentioned in this article (Bootstrapping of VS packages and VSIX extensions in VS2010) and none of the extensions I get error for is there.
Is there somewhere else I can check?
I would "just" like to see where visual studio finds these references and kindly delete them all :)
I found this folder in the windows registry:
HKEY_USERS\S-1-5-21-3990449039-760197492-1239349315-1121\Software\Microsoft\VisualStudio\10.0_Config\Packages
It contains all the reference to extensions visual studio tries to load (mostly pointing to HKEY_USERS\S-1-5-21-3990449039-760197492-1239349315-1121\Software\Microsoft\VisualStudio\10.0_Config\InstalledProducts subfolders).
I just renamed the folder of the extensions I did remove and I do not see load errors anymore.
I'm sure this could cause some side effects so is anyone aware of a better way to avoid visual studio trying to load uninstalled extensions?
This is the correct answer:
Close Visual Studio.
Backup, and then delete Visual Studio's AppData folder. For example:
Visual Studio 2010:
%AppData%\..\Local\Microsoft\VisualStudio\10.0
Visual Studio 2012:
%AppData%\..\Local\Microsoft\VisualStudio\11.0
Visual Studio 2013:
%AppData%\..\Local\Microsoft\VisualStudio\12.0
Restart Visual Studio and enjoy.
I had a problem like this after upgrading SmartBear AQTime where I removed IDE integration (which doesn't work well anyway, may as well run standalone). VS2010 complained no startup about packages which didn't load correctly.
I actually deleted the contents of
AppData\Local\Microsoft\VisualStudio\10.0\Extensions
and this fixed things entirely.
I encount this problem after removing devexpress from my computer,and I cleaned the registries yesterday,then I delete the devenv.CTM file in
%AppData%..\Local\Microsoft\VisualStudio\10.0\1033 file and restart my VS, it works!

Resources