I have an asp.net MVC 5 project that I have setup to work with bower, grunt and npm that work perfectly fine in Visual Studio 2013. Having tried to load the same project in Visual Studio 2015 (RTM), I'm finding that as VS 2015 attempts to restore the bower dependencies on load it doesn't complete.
Through a process of elimination of my bower.json dependencies, I've found that public github based dependencies work perfectly fine, e.g.
"zip.js": "git://github.com/gildaslormeau/zip.js.git#1bead0a3bb9d2e50ea34094bbfe9bb6a2196939a"
However when I include a private bitbucket repo using a url such as git@bitbucket.org:{owner}/{repo}.git#1.0.0 in my bower.json dependencies then the issue reappears. Running git commands via the console with these private repos works as expected.
Any assistance would be greatly appreciated!
UPDATE
It would appear the issue relates to visual studio 2015 not loading the relevant SSH keys. Running "bower install ./bower.json" inside a posh-git console works. Not sure how to get Visual Studio 2015 to use my SSH keys!
Aucun commentaire:
Enregistrer un commentaire