In Visual Studio 2015, using bower, my package restores fail when behind a firewall with an error similar to:
ECMDERR Failed to exec
The solution that worked for me with VS2015 Release is to :
Modify the file C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\bower.cmd with this content:
set PATH=C:\Program Files (x86)\Git\bin\;%PATH%
git config --global url."http://".insteadOf git://
git config -l
@"%~dp0\node\node" "%~dp0\bower\node_modules\bower\bin\bower" %*