I haven't used my VS in few months, but today I got the need to. So I wrote some code, pressed F5 to see if it compiles and works properly, it started showing compiling process in the bottom window, at the very bottom a Build Successful message shows up, and nothing. The app doesn't start up, I can't click anything in VS (isn't considered as "not responding" by windows), and Task Manager shows three processes named like my app, all having 112K memory usage. After I kill VS process, one of them closes, but I absolutely can't get rid of remaining two, until I restart my PC. Trying to run the exe in project directory also didn't work.
I'm reinstalling Visual Studio to see if it gets fixed from just doing that, but ideas on how to fix it are still welcome in case it doesn't.
Related
At some point today, whenever I run the C# console app that I'm developing in Visual Studio 2022 on Mac, a pink/purple window opens with the title "TerminalPad-TerminalPad-0" in the frame of the window. An additional normal looking terminal window within which the application actually runs opens, takes keyboard input and displays output. When the application successfully completes, the pink/purple window goes away.
How do I stop this purple/pink window from opening?
I tried changing all the terminal options I could find in VS with no change. I don't know what I did to make this start happening.
I started having this happen to me today (11/10/22) as well. There's another thread with the same issue, required a full uninstall with a 3rd party uninstaller ("App Cleaner and Uninstaller", has two day trial) and then full reinstall. Just dragging the Visual Studio icon to the trash won't fix it.
I had this issue after a VS update. I uninstalled using the Microsoft provided scripts linked to from within this page:
https://learn.microsoft.com/en-us/visualstudio/mac/uninstall?view=vsmac-2022
and currently leading to the script at this location (please double check above page if the below link is dead):
https://raw.githubusercontent.com/MicrosoftDocs/visualstudio-docs/master/mac/resources/uninstall-vsmac.sh
I then reinstalled using the MS provided installer for MacOS. All working fine now.
It took around 15 mins in total to resolve.
I am looking for how to get the behavior of older versions of Visual Studio where each time a console application is started through the IDE via Debug->Start Witout Debugging or Ctrl+F5, a new console window is created and remains present after the program completes. The current version opens a console window the first time but then reuses it on subsequent runs after deleting the contents of the old run. In general, it is convenient not to have to close multiple windows manually, but I would like to visually compare outputs after various changes to the program. I had hoped that the debugging options would offer a way, but I did not see anything promising. Thanks for any information!
I have a WPF solution in Visual Studio 2013 update 2 with over 100 projects, mostly C#. I have a small C# exe as the start-up project which does some basic initialisation and displays a file open dialog which appears within a few seconds.
I have recently encountered an intermittent problem that occurs a few seconds after launching the debugger, usually before the file open dialog is displayed. Visual Studio starts loading dependencies (visible in the status bar at the foot of the window), then suddenly goes unresponsive and fails to recover.
Crucially, it is impossible to launch new processes or close windows/terminate existing processes. It is still possible to interact superficially with programs that were already running, i.e. menus in user interfaces are still clickable but have no effect. Running any command in an open cmd prompt causes the window to stop responding; Ctrl+Alt+Del/Ctrl+Shift+Esc have no effect. The only option is a hard reset.
I have tried deleting PDBs and performing a full clean/rebuild, to no avail. There is also nothing of interest in the system or application event logs.
This issue started happening a few days ago and has become more regular, but remains intermittent.
I deleted the solution's SDF file, and the issue has not occurred since.
For the past couple of days, Visual Studio 2012 and 2013 have been hanging during debug mode. Most of the time, i dont get this issue until further into my project. When i press the Start Button, everything continues as normal, but then hangs with this message at the bottom of visual Studio statusBar.
Inside Task Manager, when i try to force taskkill, or end process/process tree, this continues to stay present in my running processes.
Even after a reinstall, nothing seems to help it. I did see somewhere on the Microsoft Developer forums where a person was told it was something to do with the windows sybmol server?. What do i need to do to fix this issue i am having?
After this occurs once, i am forced to reboot my computer. Even if i open Visual Studio after this happens, it still has the same issue.
My Visual Studio 2010 Professional hangs up 99.999% of the time when I try to open a website as "Remote Site" through an HTTP address. However if i open the site through a unc path instead of through HTTP, it works fine. Of course that is not always feasible, for example when working from offsite. The same sites (assuming they are not NET40 sites) work fine in Visual Studio 2008, so I'm pretty sure it is not a problem with the Front Page Server Extensions.
If i run 2010 in /safe mode, it opens the projects fine. So i figured maybe it was one of my installed extensions. I therefore disabled all my extensions and tried again, but it still hangs up. So it is apparently something in Visual Studio itself that is different between safe and normal modes.
I ran it in logging mode, and checked the log but did not see anything that stuck out to me. The log is uploaded here: http://pastebin.com/aUnVanB1 .
The exact symptoms I am seeing are that when i click on the project name, it pops up and asks me for my credentials. I enter those, and click OK, and it then loads the solution explorer, and i see the tree view, but then it just hangs with the progress dialog that says "Preparing Solution...". The progress bar keeps cycling, but it never finishes loading, and the spot where the properties window would be in the VS UI is completely unpainted, with just a blank, empty, white space.
Any one have any clue what else i could do to try to figure out why 2010 hangs when attempting to load websites via HTTP? Thanks!
Thanks for your question... you gave me the right clue to solve my problem!
My VS 2010 was hanging (in fact was very slow to get available) when I was openening a solution containing a remote website and I was due to press Escape a few times to cancel the pending operation... As you suggest I tried to open such a solution with /safeMode and VS2010 became available quite instantly.
So as you pointed the VS Extensions... I checked mine (all from Telerik): opening the extension manager I discovered that some updates where available. I thought the extensions updates were automatically proposed and so never checked that before. In fact, you need to manually check with the extension manager if some are available.
I've updated all my Telerik extensions... and now I may open normally all solutions including a remote website.
Thanks a lot! Perhaps... you need to updates your extensions???
Check you network order preference in Windows.
I had a similar problem where DNS would cause a hang of 1 minute before trying again (and again and finally on the next network).
Under Network, Advanced Settings (WinXP):