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