Workspace.PendEdit not checking out files
Posted
by MasterMax1313
on Stack Overflow
See other posts from Stack Overflow
or by MasterMax1313
Published on 2010-06-02T00:56:40Z
Indexed on
2010/06/02
1:04 UTC
Read the original article
Hit count: 1063
I'm using the TFS 2010 SDK to programmatically check in edits to files into TFS 2010. The documentation on the TFS 2010 SDK is sparse at best. When I call the method workspace.pendedit() passing in an array of files I want to mark as having a pending edit, nothing is actually checked out. So when I call workspace.checkin() passing in workspace.getpendingchanges and some comments I get an exception that there must be at least one thing that has a pending change (which should be what I passed into pendedit). Any thoughts on why the app isn't marking the files as having a pending edit in the workspace?
© Stack Overflow or respective owner