Visual Studio 2022 Professional Source Control Explorer Stuck in Working - visual-studio

I have a new laptop. After installed Visual Studio 2022, the Source Control Explorer worked. But after I continue to install more other software and deleted some downloaded solution files from TFS, the explorer is stuck in working. It eventually leads to a frozen Visual Studio with busy message.
Using another laptop with Visual Studio 2022 works.
How to debug and fix this issue?

I think your best bet right now would be to uninstall Visual Studio and start from scratch. Depending on what "downloaded solution files" you deleted, something could be seriously messed up with your current installation of VS.
I would do a full re-install and try again. This may end up saving you time versus troubleshooting.

Related

Unity Could not find any supported Visual Studio installations

Problem picture
Environment:
Windows10 Professional Visual Studio 2017 Unity 2017.4.12f1
I changed the default installation path of Visual Studio 2017 and installed it successfully.
The install path as follows:
D:\win10\Program\visual_studio\2017
However, in the Build setting of Unity, it still can't find my Visual Studio 2017.
How can I solve the problem? Thanks~
Go to Edit > Preferences, and select your Visual Studio to be the preferred external editor. Use Browse if Visual Studio is not listed. More info here.
You need to install windows 10 SDK
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
Here's a third answer. I just bumped in to this, and checked that yes VS was the preferred editor, so I went to open up VS to try uninstalling and reinstalling the GameDevWithUnity workflow, but VS popped up a dialog saying I needed to reboot my computer before installation could complete. So it seems like VS was stuck in the middle of an upgrade, which makes it reasonable that Unity couldn't find an appropriate version. I rebooted and everyone is happy.

Uninstalling Visual Studio 2015

I am trying to uninstall Visual Studio Community 2015. It has been hanging on the Preparation step for at least 12 hours. (Left it going over night). I did not want to cancel since I thought it might just be running slowly but now I am thinking that it is stuck. I have also tried repairing and it does the same thing.
Thanks in advance
Chris
To completely uninstall the VS community 2015, you can have a look at this blog and try to forcibly uninstall through the command like vs_community.exe /uninstall /force. It can forcibly remove almost all components.
There also have a visual studio uninstaller tool to cleanup/scorch all Preview/RC/RTM releases of Visual Studio 2013, Visual Studio 2015 and Visual Studio vNext. You can download it from here.
If the uninstall still failed, you use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

How can I fix PreEmptive Dotfuscator (VS2013)?

I have Visual Studio 2013 which included "PreEmptive Dotfuscator and Analytics".
It's always worked fine for me until recently.
Suddenly it will not open from Visual Studio, icon or commandline.
Even when I manually open it, it does not show up in the task manager.
It simply does nothing.
There's nothing in the Event Viewer logs.
Visual Studio shows no error.
Basically, I can't even begin to find the problem.
I tried to find a download to attempt to reinstall it but all I've seen on the website for this version is that it's included in VS2013.
There's other sites in search results which claim to have the installer but none I trust.
Has anyone had this issue in the past?
It's Visual Studio 2013 Professional on Windows 8.1.
I'm not sure how to address this so I would greatly appreciate any possible input.
Thanks in advance!
You can try uninstalling, wiping the settings, and reinstalling. Dotfuscator Community Edition is uninstallable via the Windows control panel. Once uninstalled, delete %LOCALAPPDATA%\PreEmptive Solutions. You may be able to reinstall it as a component via the Visual Studio installer. If not, it is actually a standalone installer, so if you have a Visual Studio disc or .iso, it will be in \packages\Dotfuscator.

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

Resources