How Long Does It Take To Download Visual Studio 2015

How long does it take to Repair/Uninstall a Visual Studio 2015 installation? Microsoft Visual Studio 2015 Diagnostic Tools - x86'. How long will it take. Visual Studio long install/uninstall time? How long does it take to Repair/Uninstall a Visual Studio 2015 installation? Cannot uninstall Visual Studio 2015.

We have a really big solution with more than 200 projects and thousands of files. Despite of that the solution used to load pretty quickly in Visual Studio 2010 as well as 2012. However, after copying the whole SVN repository to another location, loading and closing the solution suddenly took extreeeemly long. (I am talking about 30-60 minutes here!)

gehhogehho

8 Answers

I found a solution myself and I wanted to share it here, hoping that it might save someone quite a few hours of research and staring at the 'Preparing solution..' dialog.

When inspecting the devenv.exe process with Process Monitor, I found out that it is pretty busy with accessing the .svn directory. Here is what I did (and this somehow solved the problem):

  1. Kill Visual Studio
  2. Open Visual Studio without loading a solution
  3. Disable AnkhSvn as Source Control plugin (Tools->Options->Source Control->Plug-in Selection->None)
  4. Disable 'Document Well 2010 Plus' (VS2010) or 'Custom Document Well' (VS2012) in Productivity Power Tools (Tools->Options->Productivity Power Tools) - I read that somewhere and it might have helped as well..
  5. Close Visual Studio
  6. Delete the solution's *.suo file. This is located in the same folder as the solution itself. NOTE: You will lose several settings for your solution, like currently opened files, breakpoints, bookmarks, current solution configuration & platform (e.g. Debug x86) etc.
  7. Restart Visual Studio
  8. Load the solution - it was much faster now!
  9. Close Visual Studio
  10. Open Visual Studio without loading a solution
  11. Re-enable AnkhSvn and the 'Document Well'
  12. Restart Visual Studio
  13. Open the solution - it was still loaded in seconds!

I do not know which of these steps actually solved the problem. Probably, not all these steps are required, but I did not want to reproduce the problem to find out which steps may be omitted. :)

gehhogehho

None of those helped me, what I did.. I watch with ProcMon of sysinternals, filtering for devenv, and I saw a lot of entries of fussionlog. I had enabled fussionlog for debugging purposes some weeks before and didn't think in disabling it. I just had to disable fussionlog and the solution opened faster.

xisketxisket

You can open the Visual Studio in the Safe Mode, and then check your plugin and source control settings after opening the project.Safe Mode means 'Starts Visual Studio, loading only the default environment and services.'

How :

Or according to your path

source : https://msdn.microsoft.com/en-us/library/ms241278.aspx

How to download this game? I have checked this file myself and it works 100%. Do not worry, this file is 100% working and there is no virus, so do not hesitate to download this file from my website. Free download game need for speed underground 2 android apk. Yes, this is a question to ask me before downloading this file. Since this file is a torrent file, you must install the torrent software on your computer before downloading this file.

Tarek El-MallahTarek El-Mallah

fwiw, I realize this is a late entry, but I found that simply removing (deleting) my large number of breakpoints resolved the excessive load time and compile time. This action reduced the size of the .suo file from 214MB to 977KB. Let VS handle the .suo file itself. Compiling and loading now takes < 1 minute instead of 5-10 minutes for a solution with 35 projects. Visual Studio 2012 Pro, update 4.

jafojafo

In my case, the following worked without any of the intervening steps suggested:

  1. Kill Visual Studio.
  2. Start Visual Studio directly (i.e., not from the .sln file).
  3. Then, from within Visual Studio, open the solution.

In my case this was all it took to make the problem solution load quite quickly, without the need for me to change any settings or delete any files.

Reg EditReg Edit

I tried the above, but it didn't solve my problem.

Here's how I got around this problem, hopefully it will work for some of you as well:

  1. Open Visual Studio 2013 with no solution.
  2. Create a new C# Console application and save it.
  3. Close Visual Studio.
  4. Reopen the Console solution created in step 2.
  5. Close Visual Studio.
  6. Reopen the solution that was previously hanging on the Preparing Solution dialogue. Mine opened right away, no more hanging.
Yves RochonYves Rochon

None of the other answers worked for me. CI compile times were fine, but loading my solution in Visual Studio was taking almost two minutes. VS would then operate just fine until I closed and opened the solution the next time. Different versions of VS all showed the same problem and both safe mode and deleting the suo didn't help.

I ended up following the advice in http://geekswithblogs.net/akraus1/archive/2014/04/30/156156.aspx to use Windows Performance Recorder to instrument VS and find the problem. By looking in Windows Performance Analyzer under the 'CPU Usage (Sampled)' section and adding the 'Stack (Frame Tags)' column, I was able to dig into the usage of devenv.exe.

Turns out the hot path by count had Microsoft.VisualStudio.Platform.WindowManagement.ni.dll 23 calls down, and below that eventually Microsoft.VisualStudio.ServerExplorer.dll and Microsoft.VisualStudio.Data.Package.dll. That pointed me to look in Server Explorer in the UI and open the Data Connections tab. There I found hundreds of mistakenly added connections that came from the debug web.config's ConnectionString section. Removing those from web.config reduced the load of that individual project from 90+ seconds to almost instant.

Jeremy MurrayJeremy Murray

Using Visual Studio 2015, I ended up creating a new solution, adding the existing projects.

Deleting the *.suo from gehho's answer helped in the past, but didn't help me in this case. There's also another .suo file in a hidden .vs folder at the root of the solution.

There are other answers here for Visual Studio 2015 Visual Studio 2015 is extremely slow

goodeyegoodeye

protected by CommunityJul 22 '16 at 5:54

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged visual-studio-2010visual-studiovisual-studio-2012ankhsvnproductivity-power-tools or ask your own question.

I downloaded the full ISO for Visual Studio Ultimate CTP 6. The installation program got to about the 90% mark, gauging by the progress bar, and just stuck there. There was frequent activity from Superfetch, Anti-malware protection, and other background processes, but the progress bar was dead still. Eventually the background task activity subsided after 20 minutes, but the progress bar still wouldn't budge.

CHEAP TRICK: Open a notepad window and position the left edge of it so it perfectly marks the current position of the progress bar. If it the progress bar doesn't move past the left edge of the notepad window in about an hour, it's probably stuck.

Robert OschlerRobert Oschler

31 Answers

12 next

This was a case of one of the sub-installers getting stuck during the install and never completing. Unfortunately when this happens, it looks like the master installer never times out the operation. The trick is to open up the Task Manager in detail mode, and look for a sub-installer process that is showing 0% CPU usage and 0% disk usage, indicating it has died. Then just kill that process and the master installation will resume. In my case, the name of the sub-installer was SecondaryInstaller.exe and according to the installation log it happened while it was trying to install some Android SDK components for the cross platform development modules. It had frozen permanently. I killed it and the master installer completed. When I ran Visual Studio it was fine, although I'm guessing I'll have to do some digging on the Android components install problem.


I temporarily disabled my antivirus (AVG) and restarted the install. That fixed it.

Michael GauthierMichael Gauthier

The current version of AVG Free antivirus is incompatible with Microsoft Visual Studio 2015.

  1. It does not allow Visual Studio to be installed on the computer. It gets stuck at 'Creating restore point'. Visual Studio installs perfectly when AVG is turned off.

  2. Any code compiled in 'Release' mode targeting x86 platform/environment (in project properties) does not compile. It compiles successfully when AVG is turned off.

I posted the issues in AVG support forum but no one responded.

Computer UserComputer User

During the installation if you think it has hung (notably during the 'Android SDK Setup'), browse to your %temp% directory and order by 'Date modified' (descending), there should be a bunch of log files created by the installer.

The one for the 'Android SDK Setup' will be named 'AndroidSDK_SI.log' (or similar).

Open the file and got to the end of it (Ctrl+End), this should indicate the progress of the current file that is being downloaded.

i.e: '(80%, 349 KiB/s, 99 seconds left)'

Reopening the file, again going to the end, you should see further indication that the download has progressed (or you could just track the modified timestamp of the file [in minutes]).

i.e: '(99%, 351 KiB/s, 1 seconds left)'

Unfortunately, the installer doesn't indicate this progress (it's running in a separate 'Java.exe' process, used by the Android SDK).

This seems like a rather long-winded way to check what's happening but does give an indication that the installer hasn't hung and is doing something, albeit very slowly.

wdcosseywdcossey

Same thing happened to me, and I also tried to terminate secondary process from task manager. Do not do that. It is not a solution, but rather a hack which may cause issues later. In my case, I was not even able to uninstall Visual Studio. I tried both web installation and ISO, same issue.

Here is how it worked finally. I restored my Windows 7 to earliest restore point as possible, when there was nothing installed, so I was sure that there would be no conflicts between the different tools (Java, Android API, etc.)

I started the installation of Visual Studio 2015 Community Release Candidate at 10 p.m. At 7 a.m., it was working on Android API 19-21. A hour later, it was finally preparing Visual Studio.

This means that all you need to do is to actually wait 8 to 9 hours. Don't terminate the secondary installer at risk of breaking your Visual Studio; just wait.

saba vahidsaba vahid

I had the same problem when I tried to install VS 2015 RC from ISO. It got stuck during Android SDK Setup (API Level 19 & 21, System Images). For me the problem was metered Wi-Fi connection. The installer didn't download necessary files.

Turning off the Internet connection resolved the problem. When installation finished, it said that some components were not installed and it will try to download and install them later.

lumia777lumia777

Check if your Windows has pending updates. After the restart, installation worked as expected.

ArtiomArtiom

Alright so after hours of googling and failed attempts at solving this including many of the suggestions above, I found a solution I tried on a whim and worked for me.

Attempt to install the program, then, when it gets 'stuck', cancel it, but don't uninstall.

Then, go to the control panel, go to programs, go and attempt to uninstall it, select 'Repair' instead of Uninstall.

'Repairing' Visual Studio appears to have completely worked and was very quick, under 5 minutes and everything seems to work fine.

RaenirSalazarRaenirSalazar

This issue is becoming very now, specially for users installing visual studio on windows 10 platform. What Microsoft suggests is disable your anti virus and anti malware programs and always run setup with admin permission.

But in my case I have to do lot more things to get rid of this issue:1. Disabled AVG realtime protaction2. Disabled AVG from task manager3. Remove all the files and folders from system temp folder. (You can open it by typing %temp% and hit enter in run prompt)4. Run setup again as admin

Here is a complete list of incidents that I faced in this issue (visual studio 2015 installation got stuck)

Nikhil GaurNikhil Gaur

I got stuck during Android SDK Setup (API Level 19 and 21) Turning OFF and ON the Internet connection resolved the issue and the installation completed successfully.

Rajshekar ReddyRajshekar Reddy

My VS 2015 install hung after hours of downloading. The VS installer window said it was still proceeding, but Windows Resource Monitor indicated there had been no networ, disk, or CPU usage by the vs_community.exe process tree for dozens of minutes. Windows Process Explorer revealed wusa.exe at the bottom of this tree (wusa is Windows Update Standalone Installer). Tempted to kill wusa.exe, I instead heeded the warnings in other answers to this question.

After studying other answers here (strongly recommended), I made an educated guess and initiated a restart of my Windows 7 Pro. The restart hung because vs_community.exe would not exit. I therefore selected Cancel on Windows' restart popup.

Windows returned to my user session, and now the VS 2015 install came to life(!) Process Explorer revealed wusa.exe no longer present. I therefore suspect that was the roadblock, but my conscience is clean (I didn't kill wusa.exe, Windows did!)

After awhile the installer displayed the following:

When I clicked Restart Now, Windows restarted to a 'Configuring Windows' screen, and completed my VS install.

CODE-REaDCODE-REaD

When stuck on Visual Studio Preparation:

I killed vs_enterprise.exe with higher PID, Visual Studio threw an error, that 'pipe is being closed'. Restarted PC & Logged in. Visual Studio started automatically and has completed within 1 minute.

MaxMax

A better approach to find whether one of the subinstallers is blocked is to monitor its Network and Disk I/O activity. Process Explorer from Sysinternals does an excellent job. Android SDK Setup downloads large amounts of data (more than 1GB) and the CPU sits idle waiting for an I/O-bound operation to be completed. Under no circumstances you should attempt to kill any process, or you might risk corrupting your installation of Visual Studio. In the worst case scenario, cancelling and rerunning the setup should help.

user3051883

This solution is a safe mix of killing the sub tasks answer and the waiting answer:

  • when the installer gets stuck, simply launch the task manager and kill the process
  • if you attempt to run the app again, it will say that the app installation is not complete
  • run the installer again, and click on repair
  • installs fine
Community
abboodabbood

Mine froze on the Diagnostic Tools for 3 hours. I tried disabling my firewall and turning off internet among many other attempts to resolve this. In the end the following actions allowed the installer to complete and VS2015 Community edition to launch.

  • I then opened the latest log file in the %temp% folder, and navigatedto the end of the file.
  • In the last few log lines there was an entry: 'MSI (s) (DC:4C)[16:28:36:577]: Created Custom Action Server with PID xxxx'
  • I ended the process with the same PID, and then the installercontinued. I had to do it roughly 3 times in total and then theinstaller completed successfully.

All seems to be working OK so far (fingers crossed!!)

Eloise TaylorEloise Taylor

For Windows10:

1) Kill VS2015 Process if hung

2) Disable Windows Defender

3) Open VS2015 as Administrator

4) Enable Windows Defender

5) Initial VS2015 startup is complete

JoshYates1980JoshYates1980

I had an issue with the Visual Studio Update 3 installer getting stuck on the 'Features' tab at ther very start of installation..it would show only 'Update 2 (installed)' and nothing else, with no way to proceed.

After trying some of the other more complex advice here, it turned out, to my surprise, that all I needed to do was use 'Run as Administrator' when kicking off the installer. I was under the impression MSI generally runs with Admin privileges (under the Trusted Installer service) but I suppose the VS bootstrapper in this case does not.

karfuskarfus

I had the same issue. It would hang immediately, as soon as it said 'Applying Microsoft Visual Studio 2015.' There was only a small sliver in the progress bar. I even let the install run overnight. There was no disk activity or CPU usage from the installer.

What finally worked was to kill the process in Task Manager and restart the computer. As soon as I rebooted, the installer opened up automatically and completed successfully.

DGarrett01DGarrett01

In my case the Graphics Tools Windows feature installation was hanging forever.I've installed the Optional Windows Feature manually and restarted the setup of VS 2015.

MaxMax

I just installed VS 2015 Enterprise on Windows Server 2012 R2. The install was fast until it reached Update 1 which is past the 90% mark on the progress indicator. At that point, it took about 2 hours to complete. Be patient before you try anything more radical.

Ken PalmerKen Palmer

Mine got stuck applying the .NET 4.6.1 blah.. Turning off the internet and disabling Microsoft Security Essentials Real-time protection got things moving again.

HeyHeyJCHeyHeyJC

I have similar problems, my savior became Windows Safe Mode

  1. Restart Windows in Safe Mode (*run msconfig -> boot -> boot options ->check safe boot -> mode Network)
  2. In Safe Mode:
    1. Enable Windows Installer:

      REG ADD 'HKLMSYSTEMCurrentControlSetControlSafeBootNetworkMSIServer' /VE /T REG_SZ /F /D 'Service'

    2. Start Windows Installer service:

      net start msiserver

    3. Run Visual Studio Updater / Installer
  3. Restart in normal mode (run msconfig -> boot -> boot options -> uncheck safe boot)
OnyOny

Well, I cant find any SecondaryInstaller.exe to stop in task manager and even I dont have any AV rather then Windows Defender so I found something else.
I stopped windows Update from elevated cmd by writing command net stop muauserv and it worked for me..
The update will Retry again for KB2664825 so run the code again in cmd.(because the service starts automatically)

Keep trying and its done for me..!!

bonnybonny

I had the same problem on a different context. After trying to repair, uninstall, and reinstall with no solution, I decided to wipe out all Visual Studio remnant by using TotalUninstaller by follower the steps by steps on the link below:

Once everything is removed, I was able to successfully install the software.

Be aware that TotalUninstaller will remove everything related to Visual Studio 2013 to 2015. Earlier version will still be preserved.

I added this solution in case someone has the exact same problem.

AugusteAuguste

I've got same problem and unfortunately the accepted answer which suggests killing SecondaryInstaller.exe messed up installing the optional items. What I've done is basically opening the task manager and locate SecondaryInstaller.exe and right click and click on Open file location. Then run SecondaryInstaller.exe as an administrator.

CroCoCroCo

In my case UAC was disabled (the infamous regedit trick) and so the installer clearly could not handle it.

You could revert back to UAC for the installer, or simply try launching it as admin, it worked for me.

SacredSkullSacredSkull

If you are using windows 10, 'Windows defender' might be the reason for blocking. mine is hang while installing 'Java SE development'

To disable windows defender during the installation phase:

How Long Does It Take To Download Visual Studio 2015 64

Open Windows Defender by clicking the Start button Picture of the Start button. In the search box, type Defender, and then, in the list of results, click Windows Defender.

Click Settings, and turn off Real-time protection.

alaasdkalaasdk

I have experienced similar problems with Visual Studio 2015 Update 3.In my case core issue was corrupted windows installer cache (C:WindowsInstaller)

Here is the line from msi installer log:

MSI (s) (4C:64) [10:40:10:059]: Warning: Local cached package 'C:WINDOWSInstaller3442502.msi' is missing.

You should check installation logs if installation cache is corrupted same way.If it is you should pray for sfc utility to recover system integrity or you would reinstall windows from scratch as corrupted windows installer cache is a complete disaster and a reason to perform clear windows installation immediately.

Evgeny IpatovEvgeny Ipatov

How Long Does It Take To Download Visual Studio 2015 Crack

I had a similar problem. My solution was to switch off the antivirus software (Avast), download the .iso file, mount it (double click in the Windows Explorer on the .iso file), and then run it from the PowerShell with admin rights with the following switches:

.vs_community.exe /NoWeb /NoRefresh

This way you don't have to go offline or remove your existing installation.

CsegaCsega

For me it helped to stop the installation service forcefully using task manager. If Visual Studio was installed in Features & Programs then uninstall it, restart computer and try to install it again.

When starting the installation make sure to be have reliable internet connection

GlogoGlogo

protected by CommunitySep 10 '15 at 2:13

How Long Does It Take To Download Visual Studio 2015 Product

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

How Long Does It Take To Download Visual Studio 2015 Crack

Not the answer you're looking for? Browse other questions tagged visual-studioinstallationvisual-studio-2015 or ask your own question.

Comments are closed.