Trouble checking out *.csproj.vspscc from TFS after migrating from VSS 2005

I have succesfully migrated my VSS 2005 database into TFS. However I had to unbind the sources from the old VSS 2005 locations and bind them to TFS. This removed the not-in-source-control listing of some files.

So I tried: 'Exclude <item> from source control' on these and I seem not te be able to check out any visual studio project source control file (*.vspscc) The message is:

One or more items were not excluded from source control because their project files could not be checked out. The project file is probably checked out to another user.

I really am the only user in this project.

Any Ideas how to go about making this work?

N.B. These items are generated in my build script before building the project so I don't want them in source control.

[807 byte] By [RolfEleveld] at [2008-2-15]
# 1

I found a work-around:

I did a get latest of all sources in the workspace. Then I had to unbind. I Closed the solution. I Threw away all *proj.vspscc files, all *proj.user, *etp.vspscc, and *etp.user files. (I wonder if I should do this with the dbproj files too?)

I opend the solution and had to click a couple of times that the Source control could not be found. Then I hooked up (bind) the solution to the TFS.

I got left with a couple of files not checked in (pending check-ins). Closed the solution and then opend it again. Then excluded it again, got the same message. then I repeated the exclude action again and it seems to work. On the ETP projects I had to close the solution a couple of times to get it to work.

Can someone shed some light on this? There may be a better solutiuon. There may be others dealing with similar issues.

RolfEleveld at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Version Control...

Visual Studio Team System

Site Classified