Run Time Error in Microsoft Visual Studio - asp.net-mvc

This week, i had been experiencing a run time error that forces visual studio to close unexpectedly. Though most of my codes are saved, it is still troublesome.
How do I avoid it?

Related

What is Visual Studio 2019 doing in the background on idle?

I have been constantly bugged by this, sometimes this causes my entire PC to freeze up and lag, I don't really know what its doing in the background. I normally don't close Visual Studio as it takes a good bit of time to compile and load the solution. So I leave it running until I have to work in code. see the screenshots below.
I don't have any window open for Visual Studio other than the main screen and it is connected to our TFS/ Azure DevOps server yet every few minutes I would see the process spike up to 30% and it will cause a lag to everything I am doing e.g. working in a Word document or sending an email.
Task Manager
I am not using any extensions other than SQL Server Integration Services, Reporting services and Wix Toolset rest of them I've disabled

Microsoft Visual Studio Community 2019 CodeLens reference counter incorrect

I have a Windows Forms App with .Net Framework 4.8 and suddenly I realized that only a vertical line appears instead of the reference counter. Any idea how to fix it?
This applies to most of my solutions,but not all. I also noticed that if I reinstall Visual Studio it works after the first start, but once I close it and open it again the error comes back.
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE>devenv /resetuserdata" solved my problem.

Visual Studio 2015 does not refresh changes

Currently I'm playing a little bit with MVC application. But there is one thing that is very annoying. When I change something in my code (controller, view or whatever) the changes sometimes does not refresh. I see the old content. And there is more. Sometimes browser says "Waiting for localhost..." and it's waiting forever. When this happens the only thing that helps is to stop IIS and restart Visual Studio. What seems to be the problem? How can I make this work and see my changes every time I build and refresh the page? (Ctrl+F5 does not work)
I'm using Visual Studio 2015, IIS Express and Firefox (but this also happens on IE).
Updating visual studio 2015 helped.

Visual Studio 2015 not taking forever to display project

Something really weird is happening with my installation of Visual Studio 2015. When I just opened VS and run the project, it deploys normally. However, when I start to change things i.e. html, js, etc and hit refresh to see my new changes, after a while the browser takes FOREVER to load the page again.
This also happens when I change server code, suppose the project is running normally, then I stop the debugger, change my code, and launch the project again.
I have Windows 10 installed in my machine, Visual Studio 2015 Update 1.
I don't know what could be happening, and I have googled it without much success. Does somebody know a way I could inspect what is happening when this occurs? Any tools?

Visual Studio 2013 Ultimate Error while trying to debug an mvc application

I am developing a MVC web application. I had an issue where VS 2013 sp3 ultimate was not launching anymore so I uninstalled and re-installed VS 2013 sp4 ultimate. I am able to launch my web application using Start Without Debugging. However, when I try to debug my application I get a Microsoft Visual Studio pop-up error message that says:
Uncaught exception thrown by method called through Reflection.
It's not even reaching my application I am unable to even debug where this message is coming from.
I've already tried enabling 'Native Code' on all the included projects in my solution.
After several attempts to repair the final attempt solved the problem. Thank you.

Resources