Visual Studio 2017 15.7 Preview 2 Hangs While Opening Solution - visual-studio

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

Related

After upgrading from VS2015 to VS2017: The Debugger is not properly installed

I've been working on a C# MVC application in VS2015 with no problems. Recently I've upgraded to VS2017. I opened the same project in VS2017, but whenever I try to run it, I get the exact same error verbatim as described in
this question VS2017: The debugger is not properly installed. Cannot debug the requested type of code
I've followed every single piece of advice in that thread. I've also performed a repair on my installation - but none of the suggestions worked for me.
It's August now, so I wonder if anything has changed and if there is a solution now.
I have a feeling the problem is probably due to the differences between VS2015 and VS2017 - this was originally something built in VS2015 after all.
I also had issues few months ago when i upgraded VS2015 to VS2017 and one of my big project that i was running on visual studio 2015 stopped working. That project had seveleral class libraries and DLLs added. VS2017 asked me to installed required libraries/ddl one by one, which i did and still didn't work.
So what I did was, Uninstalled the upgraded version of visual studio 2017 and re-installed the complete visual studio 2017 from MSDN website (selecting the default selection of features). And then i loaded my Project in VS2017 fresh copy and it worked.
I suggest you to try the same

Visual Studio 2017 hangs while debugging?

I tried looking this up on the visual studio support site and apparently this should have been fixed. I am still experiencing periodic hanging while debugging.
I am running the most recent update of visual studio 2017: 15.2
I have tried disabling extensions (Resharper 2017 Ultimate, Developer Analytics, etc.) without any luck. Its very frustrating, because I end up having to end the Visual Studio task in task manager.
Has anyone else had similar issues with 15.2?
UPDATE
I found this on the MS site. I had looked up and down, but once I added a 15.2 search criteria it showed up.
I had issue with Visual Studio 2019 hangs while debugging. I have deleted .vs(hidden) folder. It works fine then.
The .vs directory can be found on the same directory where the solution file located. (It was hidden by default, we need to enable the visibility on file explorer setting at windows )
Updating to 15.2(26430.16) has solved this issue. I preformed the update almost 2 weeks ago and have not had an issue since.

Unable to copy file "obj\Debug\Some.dll" to "bin\Debug\Some.dll".... because it is being used by another process"

Is anyone else facing this issue in VS 2017? This only happens in VS 2017 for all Xamarin Forms based projects irrespective of the nuget versions of Xamarin Forms.
The same projects open & work fine in VS 2015.
Any clues on what could be wrong?
I am using VS 2017 Enterprise edition Version 15.2 (26430.6) release.
Just update your Visual Studio and the problem should vanish. Its a known bug that got fixed later. I had the same issue and it was gone after the update.

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!

My Visual Studio have a trouble

I don't know what happened with my Visual Studio. What is it? How I can fix it? Problem like that I have just in Visual studio. Other programs working and rendering correct.
If I'll scroll document - VS refreshing and working correct 1 minute, and after happening the same.
Using VS 2010 SP1.
Solved!
I unchecked this option, and right now working perfect!

Resources