# Team Foundation check in Pending Changes always fail

**URL:** https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397
**Category:** Bugs
**Created:** [September 13, 2011, 4:24am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397 "2011-09-13T04:24:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![stposch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@stposch](https://www.finalbuilder.com/forums/u/stposch)
#### Post date: [September 13, 2011, 4:24am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/1 "2011-09-13T04:24:25Z")

</div>

Hi,

the action "Team Foundation Check In Pending Changes" always fails when there are no changes, independently of the state of the "Checkin Option - Fail if there are no changes to check in" Checkbox.

Here the log (in german and file and path modified):

Team Foundation Check In Pending Changes [S:\XXXX\XXXX]  
&nbsp;&nbsp;&nbsp; Status: Error  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date: 13.09.2011  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Time: 16:20:09:110  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End: 16:20:10:579  
&nbsp; Duration: 00:00:01:469  
  
Action Messages:  
Execute Condition (VBScript)  
Condition : SS\_TYPE="TFS"  
Condition evaluated to True  
Path to Executable: C:\Programme\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe  
Workspace Directory: S:\XXXX\XXXX\  
Command line: checkin /noprompt "ABC.vbp" "ABC.res"  
Einchecken von bearbeiten: ABC.res  
Einchecken von bearbeiten: ABC.VBP  
  
Die folgenden ─nderungen wurden nicht eingecheckt, da die Elemente nicht geõndert wurden.  
&nbsp; bearbeiten wird r³ckgõngig gemacht: S:\XXXX\XXXX\ABC.res  
&nbsp; bearbeiten wird r³ckgõngig gemacht: S:\XXXX\XXXX\ABC.VBP  
  
Es sind keine weiteren ─nderungen zum Einchecken vorhanden.  
Failed!

Best regards,

Stephan

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 14, 2011, 4:18am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/2 "2011-09-14T04:18:09Z")

</div>

Hi Stephen,   
 It looks like the output from tf.exe changed at some point w.r.t no changes being checked in. I’ve just updated the code and the fixed version is building now. Once it’s done I’ll post a link to it.   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 14, 2011, 6:44am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/3 "2011-09-14T06:44:27Z")

</div>

Hi Stephen,   
 Please try this test build and let me know if it solves the problem: [https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700\_1545.exe](https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1545.exe)   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 28, 2011, 9:35am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/4 "2011-09-28T09:35:01Z")

</div>

Ben,   
  
 I’m running Version 7.0.0.1561 of finalbuilder, and I am having the exact same thing occur. Has this been fixed in any other builds yet?   
  
 Thanks,   
  
 Nick

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 29, 2011, 3:58am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/5 "2011-09-29T03:58:26Z")

</div>

Hi Nick,   
 I just tested with 1561 and it seems to work as expected:   
 [code]Path to Executable: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exeWorkspace Directory: C:\Builds2\1\FBWorkflow\SimpleLibrary - FB7\SourcesCommand line: checkin /noprompt /recursiveThere are no pending changes.Done. [/code]   
  
 Can you re-check the version, and send me the log output you’re seeing?   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![stposch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@stposch](https://www.finalbuilder.com/forums/u/stposch)
#### Post date: [October 13, 2011, 5:45am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/6 "2011-10-13T05:45:31Z")

</div>

Hi Ben,

i have:

Path to Executable: C:\Programme\Microsoft Visual Studio 10.0\Common7\IDE\TF.exe  
Command line: checkin /noprompt "AssemblyInfo.vb"  
Einchecken von bearbeiten: AssemblyInfo.vb  
Die folgenden Änderungen wurden nicht eingecheckt, da die Elemente nicht geõndert wurden.  
bearbeiten wird rückgängig gemacht: \My Project\AssemblyInfo.vb  
Es sind keine weiteren Änderungen zum Einchecken vorhanden.  
Failed!  
&nbsp;

Version 7.0.0.1561

&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 14, 2011, 1:55am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/7 "2011-10-14T01:55:08Z")

</div>

Hi Stephan,   
 From the look of the log output, you don’t have a workspace specified. Can you please try specifying one and seeing if that helps?   
  
 Cheers,   
  
 Ben

---

<div class="post-metadata">

### Author: ![stposch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@stposch](https://www.finalbuilder.com/forums/u/stposch)
#### Post date: [October 18, 2011, 11:52am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/8 "2011-10-18T11:52:24Z")

</div>

Hi Ben,

i have one private workspace for using for development in Visual Studio as well for using in Finalbuilder and i don't want create a new workspace for the Finalbuilder run.

I use the following actions in this order:

1. Team Foundation Get (Working Folder - Use Folder:= PathToVsSolutionFile and "Get all files in working folder")

2. Team Fundation Check Out (Working Folder - Use Folder:= "PathToVsSolutionFile\My Project" and File to Check Out := AssemblyInfo.vb

3. Sometimes i modify some properties in the AssemblyInfo.vb, e.g. the version number

4. Team Foundation Check In Pending Changes (Working Folder - Use Folder:= "PathToVsSolutionFile\My Project" and File to Check In := AssemblyInfo.vb and

This checkin fails if there is no modification on the AssemblyInfo.vb. I there is a modification, all my actions run without any problems.

Where and how should i specify the workspace?

Thanks,

Stephan  
&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 19, 2011, 1:06am UTC](https://www.finalbuilder.com/forums/t/team-foundation-check-in-pending-changes-always-fail/3397/9 "2011-10-19T01:06:12Z")

</div>

OK, that’s interesting. From what you’ve said it sounds like you have the working folder set in the Check In action, but it isn’t being put on the command line. I can’t reproduce that here.   
  
 Would you mind sending your Finalbuilder project to support at [finalbuilder.com](http://finalbuilder.com)? I think there must be something I’m missing.   
  
 Cheers,   
  
 Ben
