Visual Studio 2015 & Git error: open ("somefile.VC.opendb"): Permission denied fatal: cannot handle the path myfile.VC.opendb

Setup:

  • Windows 10
  • Visual Studio 2015 Update
  • Work in administrator mode

I cannot make my changes using Visual Studio 2015 because the commit parameter does not appear.

When I go to the source folder and try to commit there, I have n changed files, so I click " Stage Changed ", which brings up the Stagen dialog for unmonitored files? "which I click on" Yes . "

Then I get an error with the error:

error: open ("myfile.VC.opendb"): Permission denied fatal: cannot execute the process path myfile.VC.opendb

Where myfileis just the name of some arbitrary file.

However, if I close the solution and then try to fix it in a folder, everything will work as intended ...

What's going on here? I have all the updates.

+4
source share
2 answers

The file .opendbwas added to Visual Studio 2015 Update 1, but was not added to the file .gitignoreby default until Update 1 was released.

, .opendb 1 2015 :

enter image description here

+13

Visual Studio Express 2013 Visual Studio Community 2017 . , .

.gitignore (, , ), Team Explorer /Git/ / . " " : " .gitignore ", "". "", VSC 2017 (w1130) .

+2

Source: https://habr.com/ru/post/1625705/


All Articles