Visual Studio 2019 - Associate test to test case does not work when using git version control plugin

Yannik Steiger 96 Reputation points
2021-06-17T08:13:41.443+00:00

Hi,

I have a git repository on TFS and am using git version control plugin in VS2019. When I want to associate a test to a test case, I get the following error dialog:

106507-you-are-not-loggedin-error.png

I have a connection to TFS configured in Team Explorer. But when I connect to TFS, my solution gets closed with:
106534-active-solution-controlled-by-different-sourcecont.png

I use VS2019 Enterprise, Build 16.10.2

How can I solve this issue?
BR, Yannik

Developer technologies | Visual Studio | Testing
0 comments No comments
{count} votes

Answer accepted by question author
  1. Yannik Steiger 96 Reputation points
    2021-06-17T09:31:23.1+00:00

    Hi, the problem is solved. For some reason I was registered on the git repo with another company account. I changed TFS connection to use that one and now it works again.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.