Visual Studio 2012 new install crashes on debug - visual-studio

I just re-installed Windows 8, and with it Visual Studio 2012. I opened up my solution as normal, made 2 lines change, and hit F5. The build was successful, but when launching into debug mode, I got "Visual Studio 2012 has stopped working". I have no idea why this is happening. Few things I've tried;
Installed Update 3
Rebooted a few times
I've got a dump of the error, and it says this;
"Tried to read from or write to a virtual address for which it does not have the appropriate access"
Anyone had this before?

Related

Visual Studio 2022 Installer Closes

Since yesterday my Visual Studios 2022 doesn't work anymore, so I deinstalled it and now when I try to install it the Installer loads says downloading installing after that the two bars are Green and it closes and nothing happens. I already tried deleting the folder, Turning off Firewall, tried to start vs_installer.exe nothing happens. After that I tried to install Visual Studio 2019 same thing happens. Last Windows update was on the 21.06.2022 Anyone got an Idea what else i should try?

Visual Studio Remote Debugger Failed to Start

I recently installed Visual Studio 2017 on my laptop (running Windows 10). I have a C++ project using the OpenCV and Eigen libraries, and it seems to compile correctly, but when I try to run the Local Windows Debugger, I get an error message that says:
Visual Studio Remote Debugger (MSVSMON.EXE) failed to start. If this problem persists, please repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel
I ran the Repair tool it suggested, with no luck. I also checked for a solution online, and came across a support page (Link). I tried turning off my anti-virus and firewall as per the suggestions on the support page, but that didn't get rid of the error message. My laptop is brand new, and I just installed Visual Studio and the Remote Debugger, so I don't think it would be the case that the version of the Remote Debugger doesn't match with that of Visual Studio. All of the other suggestions are for people doing remote debugging, but I'm doing a local debug.
Any help/suggestions on resolving this issue would be appreciated.
Firstly close the Visual Studio.
Goto AppData\Local\Microsoft\VisualStudio and select version (Ex: VS 2015 has 14.0 folder).
Then delete ComponentModelCache folder.
Start the Visual Studio.
Find what's preventing msvsmon.exe from running.
I encountered this error in Visual Studio 2019 while trying to start debugging a .net 5 console application. I tried to run C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Remote Debugger\x64\msvsmon.exe and found that User Access Control dialog opens and is asking to run it as an administrator. So two solutions were possible for me, either run VS2019 as Administrator or remove the Run this program as an administrator setting for msvsmon.exe.

Working in Visual Studio Professional 2015 while updating to Update 3 - Visual Studio starts to fail

I got the Visual Studio Professional 2015 Update 3 and launched the executable (vs2015.3.exe) while Visual Studio was still running. I got the following "Setup warning" but thought that a computer restart was fine as long as I could work during the update.
Please close visual studio now to reduce the chance that a computer
restart will be required later
Visual Studio immediately started acting strange, loosing Intellisense among others. I decided to restart Visual Studio and was then met with the error:
Cannot run when setup is in progress
I then canceled the update and thought that I could install this update during the night instead. When I opened Visual Studio again and tried to load a project I got the following error:
Project '' could not be opened because the Visual C# 2015 compiler
could not be created. Please re-install Visual Studio.
I then opened Update 3 executable again to complete the update. I was met with this feature list and could not do anything:
Restarted the computer but was met with the same dialog. I then opened Visual Studio again and this time the project loaded but without Intellisense. Restarted Visual Studio and now the project would not load at all. I then deleted the content of these 2 folders and ran devenv /resetsettings
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\VisualStudio\
C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
I could now open the Visual Studio project normally again but I still could not get features when running the Update 3 executable. Is there anything else I can do or do I need to reinstall Visual Studio completely? I think it is really bad that the warning Microsoft gives is that a computer restart might be required when obviously the program cannot run in the background while updating.
Solved it by going to Control panel -> Programs and Features -> Microsoft Visual Studio Professional 2015 with Updates. Click "Change" and then select "Repair".

"Attach to process" in Visual Studio 2015 Update2/Windows 10

I have just installed Visual Studio 2015 Update 2 on my Windows 10 machine (both x64 versions) and I am having hard time getting the debugger to work. When I try to attach to any process via Debug menu, I keep on getting:
I have tried reinstalling, repairing Visual studio few times always get the same error. Even running a basic hello world console application gives the same error.
When trying to run a web application using the IIS Web Express 8/10.
Even though I am absolutely sure that the message of corrupt installation is misleading, but I even have tried repairing visual studio from control panel and nothing seems to work. I dont even get any error logged anywhere which is keeping me stumped for last 1 day. This is what my VS installation looks like:
I am running the visual studio as administrator. I am pretty sure this is not a windows error as I tried installing VS2012 and debugging works in it.
Any ideas?

Visual Studio Express 2013 wont start after new installation

Im working on Windows 8.1 OS and today i downloaded Visual Studio Express 2013 from here.
The installation took round about 20 minutes. After it was installed i pressed the launch
button but nothing happended. So i pressed Windows + q and searched for Express 2013. The
computer found the correct programm. i pressed on the icon to start it and got an error message:
C:\Program Files (x86)\Micorosoft Visual Studio 12.0\Common7\IDE\VSWinExpress.exe
The application has failed to start because the side-by-side configuration is incorrect.
Please see the application event log for more details.
I tried to figure out what the problem is but i didnt get it running. i tried to repair the installation, i tried a restart, i tried to deinstall everything, restart and install it again.
I cant start it, always that error message.
It was a clean new installation.... how can that even be...
EDIT:
From the Event-Log i found out that the system cant find debuggerproxy.dll. Where can
i get it and where does it have to be and why does a new installation of visual studio express 2013 does not deliver this dll?

Resources