TFS not checking in new files

Posts   
 
    
jssenyange
User
Posts: 18
Joined: 18-Feb-2008
# Posted on: 26-Nov-2008 10:02:38   

I am new to TFS (Team Foundation Server) and just migrated from SourceGear.

I have an LLBLGen Pro project as part of my solution.

Whenever am re-generating the code i do check out the project first, re-generate and check in.

However when i have added a new database object like a table or a view. And i re-generate then check in.

TFS does not check in new files related to the newly database objects. Those files also appear with an icon without a padlock from the computer i re-generated the code from. However from the other developer clients, the file appears with a yellow warning exclamation sign. When you click them, a warning about the file being not found appears. Those same files when you go under source control, under the column Latest the status is "Not Downloaded".

I appreciate any help and ideas.

jssenyange
User
Posts: 18
Joined: 18-Feb-2008
# Posted on: 26-Nov-2008 10:59:46   

I saw the thread http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=8962&HighLight=1 after posting. The macro works super.

J.T.
User
Posts: 1
Joined: 07-Mar-2011
# Posted on: 07-Mar-2011 09:51:28   

There is an other way to solve the problem without using a macro.

  1. Go to the sourcecontrol-explorer

  2. right-click the LLBLGen project folder and click on compare

  3. only select the 2nd view option (i'm working with the german version so i don't know the exact words) 'Show items that exist only in target path' and click 'OK'

  4. now you should see the files that are not added to source control. Select all the files, right-click and use 'Add to source control'

  5. now you can check-in the LLBLGen project folder including the new generated files

It may also work with deleted Files when selecting the 1st view option, but i did not test it.