Failed to Open storage.ide
I don’t make a lot of “lessons learned” posts anymore, but here’s hoping this quick post saves some of you out there a headache when you get this message and google it.
A few weeks back, I had an issue with the Git source code provider in Visual Studio and tweeted about it here (though in my haste/ire, I incorrectly described it as “tfs-git”):
Anyone seen this? TFS-Git just flat out never works when I want to commit on 2 of the 3 machines I use. Fine on 3rd pic.twitter.com/lMAcTyGnx1
— Erik Dietrich (@daedtech) May 16, 2014
It was a weird problem, because I’d been hitting that code base from 3 machines, each with the same version of Visual Studio installed. One of them never had any problems, and the other two always bombed out with this message, forcing me to go into the command line and committing from there, which worked. I have no idea what’s different among these machines and why it would work on one but not the others. Weird.
A long way down in the reply chain, Buck Hodges provided the answer that worked:
— Buck Hodges (@tfsbuck) May 16, 2014
Sure enough, I went in and added this to my .ignore file, and it did the trick. This never would have occurred to me, however, as a possible solution. That whole directory and all of the files in it were created by the IDE-Source control apparatus anyway. It’s not like I went in there and created those files, and it’s not like I was using them for anything. I actually would have assumed they would already be in that auto-generated .ignore file. I mean, this is sort of like the IDE saying to me, “I can’t check in your code because this file I created without your knowledge is being used… by me.” (When troubleshooting, I investigated which process was using the file, and the only one was Visual Studio).
Nevertheless, I was grateful for the fast response and the fix that worked, so I won’t look a gift horse in the mouth.