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!
Related
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
A few days ago Visual Studio 2015 started dying on me when compiling.
If the build is successful it takes forever to compile and Visual Studio hangs.
If the build fails Visual Studio kindly hangs and then I get a message saying the program has stopped:
This has never happened before and my work has been blocked for 3 days now.
I'm desperate. Any ideas?
Things I've tried:
Restart my computer (still dies)
Restart Visual Studio (still dies)
Build another project (still dies)
Deleting the .suo file in the solution (still dies)
Disabling ReSharper (still dies)
Removing ReSharper (still dies)
Resetting Visual Studio to its default settings (still dies)
Uninstalled and reinstalled Visual Studio 2015 (still dies)
Uninstalled and installed Visual Studio 2017 (still dies)
Run a memory check (Memory is OK. VS dies.)
Combining one or more of the above solutions (dies...)
Other teammates don't experience the problem. Same tools same projects.
Thanks in advance.
Edit 1:
Tried with a new, untouched, project as suggested by #Surreal.
Compiles successfully. I break the code on purpose and VS dies.
Tried manually running MSBuild on my solution from the command-line as suggested by #bsinky. Build fails with a strange error.
What is this "target go" thing? I looked it up on Google and can't seem to find anything related.
No idea how this was related but cleaning my Windows' temp folder along with the prefetch folder fixed the problem (I used CCleaner).
I did have to recompile and readd some broken references though.
But now I can compile both good code and bad code.
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
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.
I can't debug my Sharepoint 2010 project. Visual Studio 2010 shows me the following error message:
Unable to attach to he process. An error occurred that usually indicates a corrupt installation (code 0x80040154). If the problem persists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.
I experienced this problem some days ago for the first time.
At first repairing helped, but after a little time the error occurred again.
I have tried restarting computer, too, after which the problem was gone for only a little time.
I have uninstalled/reinstalled visual studio, but still no success.
How can I solve this problem, I have no idea about the reason.
EDIT: I have noticed that the problem occurs only when I try to debug a workflow code.
I have had this issue in the past and solved it by ensuring I'm compiling the code to x64. Check your settings in Visual Studio. SharePoint is 64bit only.
Good Luck.
I had a problem with the javascript debugger on a web project, and I got a similar error message. The fix was: Closed all instances of Visual Studio. I threw away the app in inetmgr, and re-opened visual studio with my solution that has my web app. It re-created the virtual directory on opening. Javascript debugger started working again.