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
Related
I am debugging an ASP.NET MVC app from Visual Studio 2013. When I start the debug process from Visual Studio, IIS Express where app is hosted gets stuck (my app is not started). It often happens to me. In this situation, I manually stop IIS Express from the tray icon. Even stopping IIS Express from the tray icon I often need to stop manually the debugging from Visual Studio through the stop button. Once debugging is stopped, If I try to debug again it does not work, well, sometimes works and sometimes not, it is random. I have verified that if I clear all browser history and cookies, it works in most cases except for some time. Also I have observed that Visual Studio 2013 takes a long time to boot IIS Express where my ASP.NET MVC app is hosted. Finally, I have observed that my ASP.NET MVC app hosted in IIS Express sometimes is not being displayed correctly when debugging from Visual Studio, I mean, it is displayed without css styles being applied, it seems like css styles are missed. In this case, if I stop debugging and start it again it works.
So How can I improve or solve these kind of weird issues?
IIS Express gets stuck and css styles sometimes not being applied when
debugging an ASP.NET MVC application from Visual Studio 2013
This is a quite strange issue and l suggest you could try these suggestions
Suggestion
1) delete all caches under C:\Users\Administrator\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache, C:\Users\Administrator\AppData\Local\Temp and C:\Users\Administrator\AppData\Local\Microsoft\WebsiteCache.
2) close VS Instance, delete .vs hidden folder,bin,obj folder under the physcial path of the solution and then reopen your project
3) If you have IntelliTrace, please disable Enable IntelliTrace under Tools-->Options-->IntelliTrace-->General.
4) try another port like 56000 by right-clicking on the project-->Properties-->Web--> project url.
5) disable any third party extensions by Tools-->Extensions and Updates or just use devenv /safemode in developer command prompt for vs2013.
6) try to reinstall IIS on the control panel and if your IIS is not 10.0, I suggest you could download and use it.
In addition, VS2013 is too old and Microsoft does not continue to maintain it. So l suggest you could download and use the latest VS2019. It has more optimization and stronger performance than the previous VS and fixes some remaining issues from previous releases.
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.
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?
Periodically as I work on XE8 under Windows 10 64 bit the user interface will stop working and through up the dialog "Embarcadero RAD Studio for Windows has stopped working". This requires a restart with loss of editing to that point.
It doesn't seem to be associated with any one task I am performing except that I have a rather large project loaded and am looking at the source code with the editor.
Any ideas on this?
ASP.NET MVC, Visual Studio 2010, C#/.NET4. I'm using IIS Express as the web server of choice, as it more accurately mirrors our production configurations in IIS7. However, when I go through following process, the libraries used by IIS Express don't seem to be updating.
Run app, find bug
Stop VS2010, fix bug
Build/Run
Testing reveals the new code is not being used
IIS Express continues to run even after stopping the debugger in VS2010, so I'm assuming it's just holding onto the binaries that were used when it was initially launched. Is there a way to get it to use the updated binaries? Or is this the expected behavior? Right now, the only way I can get the new binaries used is to completely exit VS2010 and then reload the project/solution. Even selecting "stop" from the IISExpress systray icon doesn't seem to actually help (it doesn't appear to actually stop the process).
Obviously closing VS2010 and reloading the solution each time is a less-than-ideal workflow.
EDIT: The project is configured to run IIS Express from right click project -> Web. The project URL does not use any virtual directories, it is at root of the local host on port 60830. I thought I remembered seeing IIS Express in the F4 properties listing before, it's not listed there at all right now.