We have our code available in TFS. When we take code in one machine (in a different location) it throws an error “object is currently in use elsewhere”. Also one of the C# files is not getting downloaded. When we try to build it says “Source file ‘filename’ could not be opened (‘Unspecified error’)
This is not reproduced in other locations. Any idea what could be the issue?
Note: It is an asp.net website. We have used enterprise library. Also there is a chart control.
Note: We are using VS 2010.
I have read the following. But thge difference here is that the error is coming as and when we are taking latest from TFS. Is the TFS doing a build while taking latest itself?
InvalidOperationException – object is currently in use elsewhere – red cross
also
If project solution name or some files have unique characters in names or some variable names in code other than basic latin letters, then sometimes moving the project would give these errors.