Visual studio code editor doesn't open when I click on it - ide

Tried shutting down my laptop, a windows 7 os on Sunday afternoon. Then I got a notification telling me that a program was still running, forced the system to shut down because I was in a rush. Then on Monday morning, I powered up my system and tried opening visual studio code editor by clicking on the shortcut on the desktop. When I click, the loading circle spins for some seconds then stops. Nothing else happens. It doesn't open. Did this several times. I have uninstalled and installed visual studio code 4 times,but it's still the same thing. Even after downloading and installing its meant to open / run automatically, but instead it doesn't. Please what can I do? This is really frustrating.

Related

Visual Studio 2022 Debugger thinks I changed code and wants to hot reload

EDIT: Good information provided below to diagnose, but the issue was I was running Visual Studio 2022 17.3. Version 17.4 is required for .NET 7, and I had just installed that. Once I installed the latest version of VS, all my problems went away. Install with Visual Studio
Suddenly today, debugging my ASP.NET Core 6 and 7 apps suddenly has stopped working. I hit F5 to debug, it stops on my breakpoint, but as soon as I continue or step into, I'm shown this dialog:
I haven't made any changes to code, I'm simply trying to continue after I've stopped at a breakpoint. This just started happening today and I can't figure out what I did.
I haven't made any changes to code, I'm simply trying to continue
after I've stopped at a breakpoint. This just started happening today
and I can't figure out what I did.
Well, if your visual studio stop working for debugging all type of application, please check following configuration:
1. Tools > Options > Debugging > .NET/C++ Hot Reload
2. Tools > Options > Projects and Solutions > ASP.NET Core >
Furthermore, If you select the Always rebuild option in the dialog box, you won't see the dialog box again in the current Visual Studio session, and Visual Studio will automatically rebuild and reload instead of showing the dialog box.
Note:
In addition, as you can see above in the first release of Visual Studio (version 17.0) the standard Edit and Continue dialog is still shown when using Hot Reload with the debugger. This was a bug and has been resolved starting with 17.1 Preview 2 release.
If you still need more details about the issue you are having with, I would higly recommend you to check our official document here.
If issue still perist:
After checking above configuration, if your issue still persists and if you are not using Visual Studio (version 17.0) then you still reset your unknown setting in visual studio as following:
Go to Tools > Import and Export Settings.
Then No, just reset settings
Finally, restart Visual studio.
You can get more details here.

Codegear Rad Studio C++Builder 2007 won't open on Windows XP SP2

I've been using Rad Studio for some old projects on another Windows XP (32 bit) based PC. So, I wanted to move my projects new computer. But, after the setup, bds.exe didn't open. Same setup file works on Windows 10 PC (64 bit), but I am not able to open on Windows XP computer.
When I tried to open its closing immediately and giving just-in-time debug option from visual studio 2005. Also, it’s giving some error codes. But, I couldn’t find any solution for this issue.
When I wanted to open firstly following screen comes up.
Then, if I click no it’s closing. If I click yes following screen comes up.
Note: Closing Just-in-time debug doesn’t help to open bds.exe .

Trouble installing Visual Foxpro 6 on Windows 8

I need to install Visual Foxpro 6 on my Windows 8 laptop.
I have the Visual Studio 6 CDs. I go through the installation and everything completes installing. However, after the progress bar completes and goes away, the green installation screen displays a message like "Configuring your setup" or "completing setup". But this screen never goes away. It just hangs until I "Close Program" it.
When I start VFP6, it opens but the Command window never displays. I do see the white VFP6 desktop, but it doesn't respond and I have to Close Program.
I tried copying the VFP6 files from the CD to the drive, but the same thing happens when I try to run VFP6, it doesn't respond and I have to Close Program.
I'm able to run VFP9 on this Win8 PC just fine. But I can't get VFP6 to install or run.
Is there a solution?
I would suspect that VFP 6 is not even CLOSELY supported for Windows 8. Another person I help periodically was running VFP 8 on a Windows 8 machine and it fails. Apparently that was his consensus finding across the board for others he has communicated with. I wouldn't even bother trying VFP 6 on Windows 8.

Visual Studio 2010, Visual Basic 10, debugger not running

I have Visual Basic 10 program written in Visual Studio 10. For most of my development I would hit the play button and it would build and run. Suddenly, with no major changes to the program, it stopped running. I can hit the play button and it builds, but it doesn't run, and it doesn't show any error messages. I can run the .exe file and it works fine, and I can also use CTRL + F5 and it works. How can I "fix" the debugger?
Summary:
VB10 in VS2010
can code fine
hit play button (F5) and builds with no errors
.exe file works (CTRL + F5 also works)
using play button, program never starts
Thanks for the answers!

Unable to start debugging - Visual Studio 2012

"Unable to start debugging 'C:\Windows\System32\WWAHost.exe'. The Microsoft Visual Studio Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall is preventing communication to the remote computer. Please see Help for assistance on configuring remote debugging."
Searched for similar posts, but didn't found one. If duplicate just inform.
I am not trying to connect to any remote machine. Just testing on my local machine.
Is there any way to solve this issue. (I'm using Windows 8 Enterprise 64-bit, just a javascript project)
Problem solved. Installed Remote tools update from here and working fine. Thanks for responding. Closing the topic.
I had the same problem. I fixed it by changing properties/compile/target platform to x86 instead of Any CPU. It solved the problem in my case. Hope it helps.
This happened to me just now when I had a website set up in IIS for mydomain.com, and set my project's start up url (Local IIS) to mydomain.com, and then launched the project before remembering to add a record in the host files for the domain:
127.0.0.1 mydomain.com
This got me for a good hour before I remembered I never set the record. Adding the record fixed it right away.
Windows 7 x64, VS 2012
In my case, the Remote Debugging Monitor component was installed and the app was clearly configured to debug locally in settings. This was a WinForms app upgraded from VS 2008, .NET 3.5.
Turns out it was the Windows Firewall. By directly running:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe
A firewall dialog appeared where I could allow msvsmon.exe to run. After a VS 2012 re-start, debugging (locally) was fine!
Ensure you have Local Machine selected in this drop-down menu:
Windows 7 x64, VS 2012, VB.NET
I fixed it like this:-
Create a shortcut on your desktop to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe".
Right-click shortcut and select "Properties" from the dropdown menu. Select the "Compatibity" tab, tick "Run this program as administrator" and click OK
Create a shortcut on your desktop to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe".
Right-click shortcut and select "Properties" from the dropdown menu. Select the "Compatibity" tab, tick "Run this program as administrator" and click OK.
To start VS2012:-
Double-click the msvsmon shortcut icon (that you created above, to launch msvsmon). Wait for the "Visual Studio Remote Debugging Monitor (Administrator)" window to display before continuing ...
Double-click the "Visual Studio 2012 Professional" shortcut icon (that you created above, to launch VS2012)
In VS2012, ensure standard toolbar is visible.
In VS2012, ensure "Solution Platforms" dropdown (on standard toolbar) is visible and set to "x86".
and debug now works (for me anyway) ...
However after 15 minutes or so, debug may stop working and you may get the msvsmon error again. If that happens, simply close VS2012 and msvsmon and then start again (from "To start VS2012:-" above) ...
Myself and several other developers have been trying to look for a solution for this problem for about 3/4 hours as Visual Studio crashed then this error would occur (twice in 2 days). I then suddenly (after a lot of debugging and trying other suggestions and headbanging) I somehow realised that the file which was highlighted had changed and when I was trying to debug was not the MVC app project, once I changed it to my project's one it then worked.
Hope this helps and saves people from hours of pain!
I also got this error, I usually run sites under a named user (which is also a database user) and forgot to set the Application Pool. (parliament's answer also helped me)
For me this worked in VS2013:
Save your work, close Visual Studio then reopen your project
I encountered this error as well.
The cause of mine was that I had accidentally emptied out the following property
Properties->Debugging->WorkingDirectory
Changing it to:
inherit from parent or project defaults
Solved the issue.
If you are using Microsoft's Azure, try attaching manually the debugger:
I have outlined the steps in the following answer:
https://stackoverflow.com/a/35738995/1057052