TFS, unable to resolve registration, accordionlist.gif: the process cannot access the file because it is being used by another process

I need to add my solution to TFS in Visual Studio 2013, when I click the Check-in button in the Team Explorer window, I get this error message:

C: \ Projects \ 2013 \ MyCompany.MySolution \ MyProject \ adminpages \ images \ someimage.gif: the process cannot access the file because it is being used by another process

Obviously, I checked if this file is being used by another process using Process Explorer and LockHunter, but nothing was found. I am curious why these files, they are not used anywhere.

Any idea what this could be? due to this stupid error, I cannot check the solution for TFS.

Thanks.

+7
tfs visual-studio-2013
source share
2 answers

I also ran into this problem and tried a few things, such as restarting VS and even my machine, but the only solution that worked (more like a workaround) is checking the use of another visual studio such as 2012.

0
source share

Sometimes VS may disagree with what you check, depending on what it sees in your solution / projects. I saw this from time to time when creating a new project and moving files under Visual Studio (i.e. without using the interface inside VS).

Here's how I fix the problem:

Save the project and close Visual Studio 2013. Open "Developer Command Prompt for VS2013" and cd to the folder containing your solution. Run the following commands:

tf add /recursive . tf checkin /recursive . 

then copy the source source to another location:

 robocopy /MIR . C:\Temp\Original 

then delete the current source and reinstall it from TFS

 cd ..\ rmdir /s /q <foldername> tf get /force /recursive <foldername> 

Open your solution and make sure everything is working correctly. Fix problems when you encounter them using a โ€œbackupโ€ that you manually copied if necessary.

-one
source share

All Articles