In Visual Studio 2015, using bower, my package restores fail when behind a firewall with an error similar to:
ECMDERR Failed to exec
The answer given by @Rogerio Soares is a good one and I think many people will find it very useful (myself included).
That said, here at work, the tools I can install are very, very restricted (meaning I can't install another version of Bower without getting permission from lots of people), plus my home directory is mapped to a network share at z:\
by policy. Each time I issued git config --global
to configure git, the config settings would be placed in z:\.gitconfig
. This config file is honored just fine using full-blown Git SCM. Apparently, however, libgit2sharp (used by the version of Git embedded with Visual Studio 2015) needs this file to be at c:\username\.gitconfig
.
So after copying my .gitconfig
file from z:\
to c:\username\
, I was able to run Visual Studio's version of bower directly from the command line.