Visual Studio 2015 Executable Missing - visual-studio

I'm doing an unattended installation of Visual Studio 2015 Community Edition from a network share using the following guide: https://msdn.microsoft.com/en-us/library/ee225237.aspx
I've done everything as directed (and have successfully done this before with VS 2015 Enterprise) however for some reason the install isn't completing properly. It seems as the the Visual Studio executable is missing after the installation has finished (this happens doing it both in attended and unattended mode). Has anyone else run in to this issue before?

It seems I have found a devenv.exe in the Microsoft Visual Studio 14.0\Common7\IDE\ folder that launches the IDE. It seems that my unattended install didn't set up the icons for the IDE properly either in the start menu or on the desktop.

Related

Unity Could not find any supported Visual Studio installations

Problem picture
Environment:
Windows10 Professional Visual Studio 2017 Unity 2017.4.12f1
I changed the default installation path of Visual Studio 2017 and installed it successfully.
The install path as follows:
D:\win10\Program\visual_studio\2017
However, in the Build setting of Unity, it still can't find my Visual Studio 2017.
How can I solve the problem? Thanks~
Go to Edit > Preferences, and select your Visual Studio to be the preferred external editor. Use Browse if Visual Studio is not listed. More info here.
You need to install windows 10 SDK
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/
Here's a third answer. I just bumped in to this, and checked that yes VS was the preferred editor, so I went to open up VS to try uninstalling and reinstalling the GameDevWithUnity workflow, but VS popped up a dialog saying I needed to reboot my computer before installation could complete. So it seems like VS was stuck in the middle of an upgrade, which makes it reasonable that Unity couldn't find an appropriate version. I rebooted and everyone is happy.

Visual Studio Installer Project Extension running in VS 2017 Pro thinks it's running in VS 2013 Pro

Got a big problem with the Visual Studio 2017 Installer Projects Extension for Visual Studio 2017 Professional. I added a Visual Studio Installer Setup project to a solution and set it up the way it's basically supposed to be done (Primary Output in the Application Folder and an icon in the Desktop Folder is all that was needed). Then I right-clicked on the Setup project, clicked "Build" and then I get this:
Please wait while Windows configures Microsoft Visual Studio Professional 2013.
And then it stalls indefinitely. I have to close Visual Studio in Task Manager to stop everything. What's more, I'm Visual Studio Professional 2017, not 2013. I used to have Visual Studio 2013 Ultimate, but I uninstalled it. What could possibly be causing the confusion?
It appears that you have also got Visual Studio 2013 installed, and that there is as conflict between 2013 and 2017 because that message is a Windows Installer repair of VS 2013. Something is happening during your build that requires the VS 2013 installation to be repaired. The Windows Event Log (Application) will have an MsiInstaller log entry saying which component appears to be broken. If you post that information there may be a clue to the problem. If you (for example) have manually removed anything that may belong to the VS 2013 installed product then that would cause the same kind of problem.
You have this similar problem:
Rebuilding Visual Studio Installer project, launches Visual Studio 2013 seetup
Visual Studio 2015 msi build initiates another installation
When you say it stalls indefinitely, I would expect it to ask for the Visual Studio 2013 install image so that it can repair it. If you go to Programs&Features and manually repair VS 2013 it might fix the problem.
I also had Visual Studio 2013 installed as mentioned by #PhilDW.
Navigating to Event Viewer → Windows Logs → Application I found loads of warnings:
Detection of product '{9C593464-7F2F-37B3-89F8-7E894E3B09EA}', feature 'Visual_Studio_Professional_x86_enu', component '{E3FF99AA-78B9-4A06-8A74-869E9F65E1FE}' failed. The resource 'C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\' does not exist.
The key here being that the folder C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\ did not exist thanks to an answer in the first link provided by #PhilDW.
Created the missing final folder URTInstallPath_GAC in the path mentioned and the installers now build really fast whereas before they used to take forever (sometimes literally!).

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.

Can't install Visual Studio 2015 Community

I'll get straight to the point here.
I've been having loads of problems installing Visual Studio 2015 Community recently. I previously had Visual Studio 2012, but decided to uninstall it and install 2015 since I've started using 2015 at college.
Originally I was using Windows 7 Professional when I was having the issues, but it persists with Windows 10. The exact issue is that when I try to install Visual Studio, it progresses a little bit and then stops at "Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.24210" and then doesn't progress past that. It will keep installing that for as long as I let it, and when I try to stop the download, it will not close and I will have to restart my PC. See here:
1
I contacted Microsoft support, which, I have to say, is appalling, and they recommended that I try to install it after performing a clean boot. I did that, and it seemed to be working, but I got multiple other errors. See here:
2
As I need this programme to help with college work, you can see how this would be a huge inconvenience for me, and since Microsoft support is so terrible, I decided to come here to ask for help.
So, would you please help me figure this out?
Refer to the log file, I found the error message 'The older version of Microsoft Visual C++ 2015 x86 Debug Runtime - 14.0.24210 cannot be removed', you can have a try with the following to troubleshot this issue:
Make sure run the installer as administrator.
Go to Control Panel—Programs and Features and if you can find any versions of Visual C++ 2015 Redistributable, right-click and repair. After that, re-run the VS installer as administrator to repair. If not works, uninstall the installed Visual C++ 2015 Redistributable versions and re-run the VS installer again.
You can also use the MsiInv tool: https://blogs.msdn.microsoft.com/astebner/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer/ to obtain all Windows Installer products, features and components that Windows Installer thinks are installed on your computer, then manually uninstall the Visual C++ 2015 x86 Debug Runtime - 14.0.24210 by running msiexec /x command. After that, re-run the VS installer as administrator.
Download the Visual C++ 2015 Redistributable from https://www.microsoft.com/en-sg/download/details.aspx?id=48145 and install it, then re-run the VS installer to repair.

Visual studio 2013 ultimate Intellitrace issue

I have Visual studio 2012 Professional already installed on my machine. I installed Visual studio Ultimate. I am not seeing Intellitrace windows or in IntelliTrace options in Tools-->Options in VS 2013.
I know, IntelliTrace is not available with Professional version. Am I missing anything?
What you are doing here should be supported. There are a couple of things that you can do to trouble shoot the issue.
1) Double check that you are actually launching Visual Studio 2013. I know that this sounds silly, but different versions of Windows will set up file or project associations differently. So, though you have installed 2013, it is possible that your regular workflow is actually still launching 2012. Check the splash screen and/or the Help > About dialog.
2) Reset Visual Studio. It is possible that something got corrupted in your extensions cache during your installation that is preventing Visual Studio from recognizing IntelliTrace. This should be relatively simple:
Launch the "Developer Command Prompt For Visual Studio 2013"
cd to [Program files x86]\Microsoft Visual Studio 2013
Execute the command "devenv /updateconfiguration" followed by "devenv /setup"
The last step may take a number of minutes depending on your system configuration. After it is finished, relaunch Visual Studio to see if IntelliTrace is available.

Resources