VS 2015 + Bower: Does not work behind firewall

Same problem using VS 2015, my workaround :

  1. Install Git

    http://git-scm.com/

  2. Configure Git to use http instead of git:// with Git Bash

    git config –global url.”http://”.insteadOf git://

    Edit (as pointed by g.pickardou) you can use https to be more secure:

    git config –global url.”https://”.insteadOf git://

  3. Configure VS to use the new installed Git over VS Git

    Right click on Bower folder (under Dependencies), then select “Configure external tools”

    Uncheck “$(DevEnvDir)\Extensions\Microsoft\Web Tools\External\git”

    Add a new node with “C:\Program Files (x86)\Git\bin”

Hope this will help someone,

Rogerio

Leave a Comment