git-tfs clone failing with “Found matching Visual Studio version…”

77 views
Skip to first unread message

Larry Weisberg

unread,
Oct 24, 2022, 3:18:08 AM10/24/22
to git-tfs-dev

I am trying to use a git tfs clone command that I successfully used a few months ago. However, I now get the output:
...
Found matching Visual Studio version at C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional
No authors file used.
git-tfs version 0.32.0.0 (TFS client library 16.0.0.0 (MS)) (64-bit)

My guess is that this is because I now have both VS2019 and VS2022 installed. Is this the cause? Known issue? Is there a workaround?
I tried running the clone command with the additional --debug option but that just gave me back the clone help.

Thanks,
Larry

Matt Burke

unread,
Oct 24, 2022, 8:20:05 AM10/24/22
to git-t...@googlegroups.com
The 'Found matching' log output is just informational, not an error. Git-tfs is designed to be able to work with whatever VS version it can find, so generally if you can use both VS versions to access the TFS repository, git-tfs should be able to use either one. If only one of them is set up, then you can tell git-tfs to use the correct VS version by setting the GIT_TFS_CLIENT env var to 2019 or 2022 (as appropriate).

Can you share more about what's happening? Are there other errors in git-tfs's output? Is it creating any new files or directories? What's the full command that you're running?

--
Matt


--
You received this message because you are subscribed to the Google Groups "git-tfs-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to git-tfs-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/git-tfs-dev/e17acaf3-c404-4ac5-914b-6c6c829f13bdn%40googlegroups.com.

Larry Weisberg

unread,
Oct 24, 2022, 10:07:38 AM10/24/22
to git-tfs-dev
Sorry - in the end I realized that I had a (stupid) syntax error, using --FROM instead of --changeset as a command line option :-(

Matt Burke

unread,
Oct 24, 2022, 3:09:09 PM10/24/22
to git-t...@googlegroups.com
No problem. I'm glad you got it sorted out!

Deepak Rajput

unread,
Mar 20, 2024, 5:30:08 AMMar 20
to git-tfs-dev
i am facing issue how to resolve it
Reply all
Reply to author
Forward
0 new messages