Logs for Visual Studio Shutdown error? - visual-studio

Every time I close visual studio it tells me that there has been an error.
Eventually it tries to restart visual studio. This only happens when I close Visual Studio. To have it reopen visual studio after I just closed it is a bit frustrating.
Is there a log I can go look at to see what is causing the failure? (I have a few addins installed. And I am hoping that I don't have to uninstall them one by one to see which is causing this issue.)

If it's trying to restart itself, something should show up in the Windows/Applications event log in the Administrative Tools list.

Related

Visual Studio 2015 crashes while running a program and editing code

I have Visual Studio 2015 version 14.0.25420.01 update 3.
When i start my program from the environment with local debugger and after that try to make a change in the code, most of the times visual studio crashes, and in some i don't see the changes and the keyboard is not responding anymore.
If Visual-studio doesn't crash, i can fix the non-responding keyboard issue by closing and opening the project again, it allows me to continue my work. This problem happen on every project that i am trying to work on, so code doesn't really matter here. I also have earlier versions of Visual Studio and they work fine without this issue. Any ideas?
To be clear: Visual Studio crashes only when i edit my code while running it.

Visual Studio 2017 Lock Up: can't start, uninstall, or reinstall

I seem to have gotten my visual studio 2017 installation into an impossible state.
It started when I wanted to create a setup project to make installation of my solution easier. I found this add on for visual studio 2017 and downloaded and then ran the vsix file. The installation seemed to run fine, though I had to tell it to close visual studio since I still had it running in the background, until it reached the end at which point it hung for a long time. About an hour later I decided to just cancel the installation. When I then tried to go into visual studio, I was presented with the following dialog
I then decided to try and re-run the vsix file, but this time just be patient and wait for it to finish. However, this time I was told that couldn't run because it was already installed.
So. I think, I'll uninstall Visual Studio 2017 and reinstall from scratch.
Nope. The uninstaller hangs on 0% and when I go to close the window...
And finally. I thought. What if I just run the installer again, and install Visual Studio 2017 over the top of itself. That should be fine, and should reset the state of the application to normal. No. I run the installer, and nothing. I see an extraction window with progress bar, but then that disappears. I can see the bootstrapper process in Task Manager, but there is no window. Nothing happens.
So. My question is, is there a way for me to either reset the state of Visual Studio so that it can be used again, or, alternatively, is there a way for me to purge my machine of this application without use of the uninstaller?

Visual Studio crashes when locking computer or starting another instance

I have the problem that Visual Studio 2013 crashes when I lock the computer or start another instance of Visual Studio.
I use Visual Studio 2013 with latest patches applied. I always start Visual Studio as Admin.
This seems to only happen with a certain big solution. This problem did not occur to me with other solutions.
I tried to delete the solution and make a clean checkout from TFS, but Visual Studio still crashes.
I know this is not much information, but do you have any idea how to fix this or how to what else I could check?
Additional Information: This still happens even with Visual Studio 2015 on a fresh Windows 8.1 installation...
Here's the error:
Use the following steps to solve the issue:
Source: http://resharper-support.jetbrains.com/entries/24765142-Visual-Studio-with-ReSharper-is-freezing-and-or-crashing
I would copy the solution with quotation but as you can see, there is a lot of text to edit.
Start Visual Studio using the /log switch. Then check the created log file for warnings and errors:
%APPDATA%\Microsoft\VisualStudio\11.0\ActivityLog.xml
If you use a Web Browser to view the file, it will be nicely formatted, due to the accompanying xsl-sheet.

Visual Studio takes ages creating a project

I have problem with my Visual studio 2013. When I'm trying to create even a simple console application,VS hangs and after a while the message 'Visual studio is busy: Microsoft Visual studio is waiting for internal operation to complete.' shows up.
I have reinstalled Visual Studio but without any luck. I've used ProcMon to check devenv and all the paths it shows, have to do with Android Studio.
I 'solved' the problem by accident. I disabled Source Control and for some reason, VS started working again. I know it's not an ideal solution but works just fine when you need VS urgently.
Don't know if Visual Studio is one of those programs. Someone correct me if I'm wrong, but I believe even after uninstalling, Visual Studio keeps some files in the registry from your previous installation and the AppData folder. You might want to clear those.
Close Visual Studio (if you haven’t already).
Open the registry editor (regedit.exe)
Delete the
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio{version}
Delete the
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio{version}_Config
Delete the %USERNAME%\AppData\Local\Microsoft\VisualStudio{version}
directory.
Use {version}=10.0 for Visual Studio 2010
Use {version}=11.0 for Visual Studio 2012
Use {version}=12.0 for Visual Studio 2013
Hope this helps

Debugger Settings Change Between Visual Studio Instances

I having the most annoying problem with Visual Studio 2012 settings. Every time I close and re-open Visual Studio I find the Just My Code debugger setting disabled. No matter how many times I enable it, it is always disabled the next time I open the IDE.
Any idea how this could be occurring? All the other settings seem to persist well. It's only the Just My Code setting that's changing.
Well, I found the problem.
I have the .NET Reflector Plug-In installed in Visual Studio and it apparently doesn't like "Just My Code" so it disables it on start up.

Resources