Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

發生這個問題時,命令列建置執行時間超過預期,而且似乎凍結。這是因為主控台輸出指出組建已完成之後,不會結束處理程序。

原因

從 devenv.com 的控制代碼會傳遞至子處理程序vshub.exe,並且在保持開啟,直到結束,並釋放的控制代碼vshub.exe的devenv.com ,就會發生這個問題。Vshub.exe會等候到五分鐘逾時前的時間和結束。

解決方案

安裝下列 hotfix,若要修正這個問題,並防止 devenv.com 組建完成後關機︰

Download 立即下載套件。

如需有關如何下載 Microsoft 支援檔案的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

119591如何從線上服務取得 Microsoft 的支援檔案Microsoft 會掃描這個檔案有無病毒。Microsoft 會使用張貼檔案當日可使用的最新病毒偵測軟體。檔案會儲存在加強安全性的伺服器,以避免受到任何未經授權的更改。

因應措施

若要解決這個問題,請使用下列的命令列引數,您執行devenv.com /build之前︰

%(X86) 的 COMMONPROGRAMFILES %\Microsoft Shared\VsHub\1.0.0.0\vshub.exe"執行-n vshub-主控台 false

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×