5 comments

  1. I’m just curious, have you found a better way to accomplish this?

    Jordan

  2. What do you mean? Aren’t you satisfied with the provided solution?

    manuelr

  3. Wouldn’t using the TFS API’s “WorkspaceCheckInParameters” be the preferred solution: See http://blogs.msdn.com/b/phkelley/archive/2010/02/26/workspacecheckinparameters-and-shelvesetcheckinparameters.aspx

    Dave Zimmerman

  4. That’s the one I’m using? See line 35.

    manuelr

  5. On line 38 you compare vcs.SupportedFeatures to CheckInOptions2? Does supported features map to that enum? Does it map to other enums in the Microsoft.TeamFoundation.VersionControl.Client as well?

    It would seem that that should map to Microsoft.TeamFoundation.VersionControl.Client.SupportedFeatures, especially since from VS 2012 it contains a value of 1919 or SupportedFeatures.All. However the MSDN is unclear on that.

    A friend of mine asked the question on the MSDN forums, but the answers provided were not helpful. Perhaps you could answer the question in a clearer manner.

    http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/09cc6ecb-500c-4a9e-ab3f-8cecfbaae8ff/

    Justin Dearing

Comments are closed.