FIX: Devenv.com process freezes after you execute devenv.com /build command in Visual Studio 2015

Symptoms
When this issue occurs, the command line builds run longer than expected, and seem to freeze. It's because the process doesn't exit after the console output indicates that the build is complete.
Cause
This issue occurs because a handle from devenv.com is passed into a child process vshub.exe, and it causes devenv.com to remain open until vshub.exe terminates and releases the handle. Vshub.exe waits up to five minutes before it times out and exits.
Resolution
Install the following hotfix to fix the issue and prevent devenv.com from shutting down after a build is complete:

DownloadDownload the package now.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to get Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Workaround
To work around this issue, use the following command line arguments before you execute devenv.com /build:

%COMMONPROGRAMFILES(x86)%\Microsoft Shared\VsHub\1.0.0.0\vshub.exe" EXECUTE -n vshub --console false
Properties

Article ID: 3092422 - Last Review: 09/11/2015 07:30:00 - Revision: 2.0

Visual Studio Professional 2015, Visual Studio Community Edition 2015, Visual Studio Express 2015 for Desktop, Visual Studio Express 2015 for Web, Visual Studio Express 2015 for Windows 10, Visual Studio Enterprise 2015

  • kbqfe kbsurveynew kbexpertiseadvanced atdownload KB3092422
Feedback