SourceTfs.Checkin - OverrideText

Jun 4, 2008 at 2:21 PM
Edited Jun 4, 2008 at 2:23 PM
I'm using the latest version (May 29th 2008) of the SDC Tasks Library, specifically the SourceTfs tasks.

I'm attempting to checkout some files, build my project, and then check the files in.

The checkout works fine, but checkin fails.  This is my task declaration:

<SourceTfs.Checkin TfsVersion="2008" Path="$(SourceControlPath)" Comments="$(SourceControlCheckInComment)" OverrideText="TEST" />

And I get the following errors:

error MSB4064: The "OverrideText" parameter is not supported by the "SourceTfs.Checkin" task. Verify the parameter exists on the task, and it is a settable public instance property.
error MSB4063: The "SourceTfs.Checkin" task could not be initialized with its input parameters.

I need to provide an override text to get around our checkin poilcy.  As you can see from the task we are using TFS 2008.

Any ideas?
Developer
Jun 4, 2008 at 5:20 PM
Sorry, the documentation is wrong. Try

<SourceTfs.Checkin TfsVersion="2008" Path="$(SourceControlPath)" Comments="$(SourceControlCheckInComment)" Override="TEST" />

Jun 5, 2008 at 9:06 AM
Thanks for the quick response Mike, that's working perfectly now.
Jun 5, 2008 at 10:13 AM
Thanks for the quick response Mike, that's working perfectly now.