none
C# Programmatically How to commit and upload a file to TFS server. RRS feed

  • Question

  • Hello,

    Well i want to make a simple console program, to make a commit, and just upload a simple txt file to my TFS server.

    Can you help me with that? since i just see old tutorials using old libraries.

    Thanks alot.

    Friday, January 25, 2019 7:45 PM

All replies

  • I use TF.EXE command line for merge and check-in changesets when we prepare new version of application. It means my application launches tf.exe command. Tf.exe is well documented so it is easy to use in application. 

    As I write that I use commands so for encapsulation of tf.exe into your application Command design pattern is very nice way how to do it.

    Saturday, January 26, 2019 8:07 AM
  • Hi IzzyStark,

    Thank you for posting here.

    Since this thread is related to TFS, you could post it in Stackoverflow.

    https://stackoverflow.com/questions/tagged/tfs

    The Visual C# forum discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.

    Best regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Monday, January 28, 2019 5:50 AM