Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


Resolution

Install the following hotfix to fix the issue and prevent devenv.com from shutting down after a build is complete:

Download Download 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.

↑ Back to the top


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

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbexpertiseadvanced, atdownload, kb

↑ Back to the top

Article Info
Article ID : 3092422
Revision : 1
Created on : 1/7/2017
Published on : 9/11/2015
Exists online : False
Views : 118