0

Our Visual Studio 2019 is using Git when we want it to use our TFS 2018 server. Also our VS wants to connect to an Azure DevOps server instead of TFS.

We do not want to use Git as our default. Nor an Azure DevOps server.

How do we change these settings in Visual Studio 2019?

This is currently causing some errors when attempting to deploy our project.

Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
  • Tools > Options > Source Control. That said, why are you wanting to use TFS today? I _hope_ you're transitioning to git sooner rather than later... – Dai Mar 16 '21 at 22:13

1 Answers1

0

It seemed the project you opened in VS is under Git version control. You could try to close VS, navigate to the project folder, and delete the .git* files and folder:

  • Remove the hidden .git folder
  • Removed the .gitattributes and .gitignore files
Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39
  • Also check the `.csproj` file for source-control MSBuild properties as well, such as ``, and the `*.sln` file: https://stackoverflow.com/questions/18467994/why-missing-sccprojectname-in-project-file-cause-the-project-file-is-not-boun – Dai Mar 17 '21 at 09:31