Search code examples
visual-studiovisual-studio-2015tfs-2015

tfs error when trying to checkin in Visual Studio 2015


I am getting an error when I am trying to do a checkin from Visual Studio 2015:

Error:

The process cannot access the file 'C:\projects\dbproject\dbproject.jfm' because it is being used by another process.

I have tried to reboot, and to delete the file but I have the same issue. Can I use the other tools to checkin my changes? or maybe somebody knows how to fix this issue?


Solution

    1. Please check and kill the processes which are using this file.
    2. Exclude the file and any related files, exclude checkin the files, set ignore in .gitignore or .tfignore file.
    3. If that still not work, you can try using WinPE or any other tools to delete the file (backup first in case encounter any other issues)