index > Team Foundation Server - Version Control > VS2003 with TFS MSSCCI shows the wrong file status

VS2003 with TFS MSSCCI shows the wrong file status


Hi,

I'm using VS.NET 2003 SP1 with TFS MSSCCI provider 1.1. In the Solution Explorer, some of the resx files are shown as "checked out" status (with the red icon). However I don't have anything checked out. It seems to only happen to some of the language resx files (i.e., Form.de.resx and Form.fr.resx), but not regular code .cs files. How do I clear the checkout status in VS.NET?

Thanks,
Heng-yi

Heng-yi Liu

It looks like it's related to delete and rename in TFS. The following is how to reproduce it.

  1. Create a library project with one form and set localizable to true. Bind to TFS.
  2. Set language to "German (Germany)". It then generates two resx files, Form1.de.resx and Form1.de-DE.resx.
  3. Check in everything.
  4. Delete Form1.de.resx from TFS and check in.
  5. Rename Form1.de-DE.resx to Form1.de.resx and check in.
  6. Open the project file and notice that Form1.de.resx is in the checkout status.

Thanks,
Heng-yi

Heng-yi Liu

Hi:

Interesting, we will take a look and if it is a bug that we can fix in our next release we will do so.

Thanks, mario




MSFT
Mario Rodriguez

Hello,

the current behavior of Tfs Msscci is the following:

  • if you do delete and rename from the same workspace as your VS2003 project than the file is deleted from the local drive (I think this is what you did). VS2003 doesn't handle this situation both for VSS and TFS
  • if you do this in another workspace, than file still exists locally, VS2003 handles this and you can re-add the file

Hope this clarifies the problem. Unfortunately it is VS who needs to solve it. I'm afraid you need to remove reference to not existing resx manually from csproj.




Michal Malecki
Michal Malecki - MSFT
reply 4

You can use google to search for other answers

 

More Articles

Get files listed for a specific Changeset
No straight forward way to get list of files changed historically...
Why does TFS's Version Control employ forward slashes as path sep...
More than just VSS 2005?
PIN and UNPIN event migration problem
How do i setup web development?
Merge by WI
HELP: How can I remove team projects from source control only?
Error: No Pending Changes - But there are changes!
Identifying Software Baseline at a Branch
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Source tree collapses - get specific ver…
API function to display 'Choose Source c…
Version Treeview
tf.exe through iis
Branching bound projects and solutions d…
What's become of the Team Foundation Pow…
Can I modify behaviour of get operation …
Branching, Label, Merging - examples.
Baseless merge and version conflicts
Sourcecode corruption
finding out what changeset differs betwe…
Code changes are not reflected to the se…
How do I retrieve the username of the us…
Source branching questionnaire
Find in Files

Hot Articles

Version control API - basic recipes
VS SP1
Missing references in web project
Team Projects Check-in Policy for manage…
TFS source control storage area
Preserve timestamp on files when getting…
Apply Label applies label
Expand Keywords
TF MSSCCI Provider on 64Bit Windows Server
TF Label command line
Can anyone remove the workspace which cr…
File Recovery in TFS
Shelveset manipulation
XML differencing supported?
How to search TFS comments from Visual S…

Recommend Articles

Code Sharing And Shelvesets
Searching Team Foundation source control
Adding CC list to work item/bug?
Force undo pending changes - grayed out …
TFS Version Control workspace structure
VB6 mssci provider
create work item via checkin policy
Customizing Team Explorer
Merging From Branch to Branch
Managing Project/Assembly Dependencies i…
Using MSSCCI provider with VS 2003
Latest updates are reflected to the server
Delete same file twice - now find first …
Grey subfolders in Team Explorer
Using MSSCCI provider. How to "re-…