Allow TFS client to use TFVC's tf.exe from modern versions of Visual Studio.

Review Request #14408 — Created April 29, 2025 and submitted — Latest diff uploaded

Information

RBTools
release-5.x

Reviewers

We have multiple wrapper classes for the TFS client which let us fall
back on whatever tools are available on the system (TF, TEE, or TF Helper).
Our TF wrapper checks that we're using the TFVC version from Visual
Studio 2017 (version 15), and blocks all other versions. At the time VS 2017
was the latest version, but now the latest version is Visual Studio
2022, which uses version 17 of TFVC. This change allows us to use any
version of TFVC higher than or equal to 15. This also updates the
documentation accordingly.

  • Ran unit tests.
  • Used rbt post to post a change from a TFVC repo using Visual Studio 2022.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
Allow TFS client to use TFVC's tf.exe from modern versions of Visual Studio.
We have multiple wrapper classes for the TFS client which let us fall back on whatever tools are available on the system (TF, TEE, or TF Helper). Our TF wrapper checks that we're using the TFVC version from Visual Studio 2017 (version 15), and blocks all other versions. At the time VS 2017 was the latest version, but now the latest version is Visual Studio 2022, which uses version 17 of TFVC. This change allows us to use any version of TFVC higher than or equal to 15. This also updates the documentation accordingly.
d7431b13dc4d07f09049bea197686cde5128abda Michelle Aubin
docs/rbtools/rbt/configuration/tfs.rst
rbtools/clients/tfs.py
rbtools/clients/tests/test_tfs.py
Loading...