Is there any side effect with using GitHub Extensions for Visual Studio and TFS side by side? - github

I use Visual Studio 2015+TFS for my work projects. Visual Studio 2015 works flawlessly with TFS - of course.
I am doing a few personal projects (pet projects) on my leisure time and I have them on GitHub.
None of my projects use GitHub or TFS at the same time. It is either TFS or Github.
I am thinking to install GitHub Extensions for Visual Studio.; however, I am concern that it might have some side effect with my work projects that are hosted on TFS.
I wanted to consult here and check if anyone has encountered any interference between GitHub Extensions for Visual Studio and TFS client?

There is no side effect with using GitHub Extensions for GitHub and TFS, just make sure you have separate workspaces for GitHub projects and TFS projects.
When you work on GitHub projects, login GitHub and clone or create projects, then VS will connect to your GitHub:
When you work on TFS projects, connect to your TFS, and VS will connect to your TFS:

Related

Azure DevOps No Longer Showing in Visual Studio when Adding Project to Source Control

I recently updated Visual Studio 2019 to version 16.11.13. When I clicked Add to Source Control in the bottom right-hand corner, the option to publish the project to Azure DevOps in Team Explorer --> Synchronization no longer appeared. I've published Visual Studio projects to Azure DevOps this way for over 2 years now, and now I can't find a solution that works. Is there a setting that I'm missing that's not allowing me to publish to Azure DevOps?
Azure DevOps No Longer Showing in Visual Studio when Adding Project to Source Control
You could click the file and select clone repo:
we could add the new project to the local folder after we connect to the repo and clone the repo. Or we could copy the existing project to the local folder.
And you could do this from the team explorer.
Please check the document Enhanced Productivity with Git in Visual Studio for some more deyails.

Azure DevOps re-connect repository to existing folder

I have a number of projects in Azure DevOps that are saved through Visual Studio to my local drive. I just went through removing Visual Studio Community from my computer and installing Professional instead as I have a license. I am trying to reconnect all my local cloned folders to azure in the Team Explorer window.
I can't see any way to just re-set up the binding. In manage connections I can see all my projects, but the only option available is to choose a new empty folder and clone/download all the source code again.
Is there any way to just re-establish the connection from DevOps to my local folders??
You only need to open the local sln file in Visual Studio Professional.
Click on the option shown in the figure below, and you will find that there is already a connection between the cloned local repo and the remote repo.
In Team Explorer, you only need to connect to the repo.
In my case my solution would not even load the project in VS Professional 2022 after upgrading from VS Community 2022. I had to uninstall everything and then reinstall VS Professional 2022 and then everything reconnected automatically.
Visual Studio Installer:

How pull and push code in tfvc repo in Azure DevOps Organization?

I want to pull and push code from my local ubuntu machine to Azure Repo. I have used repo type tfvc. How can we perform this option from Linux machine?
How pull and push code in tfvc repo in Azure DevOps Organization?
First we need install the Visual Studio code on Linux.
Then, we could use the official Azure Repos which released by Microsoft.
It supports both TFVC and GIT version control type.
Create your TFVC workspace
With TFVC, the extension uses information about the current workspace
to determine how to connect to Team Services (or your Team Foundation
Server). Workspaces can be created using the Visual Studio IDE,
Eclipse or with the JetBrains IDEs (e.g, Android Studio, IntelliJ).
Note: At this time, you will need to have a local TFVC workspace already available on your local machine. More information about the
difference between the two types (and how to determine which one
you're using) can be found here.
You could also take a look at below videos to help get you started using the extension quickly:
TFVC Source Code Control for Visual Studio Code - This video shows
you how to set up the TFVC support on Windows and demonstrates much
of the functionality available for Team Foundation Version Control.
Above is for windows machine, if you are working on Linux, please take a look at this similar answer.
Hope this helps.
First Download Team Explorer Everywhere client - https://github.com/Microsoft/team-explorer-everywhere/releases
Then on Download Azure DevOps Services Plugin for IntelliJ IDEA --https://learn.microsoft.com/en-us/previous-versions/azure/devops/java/download-intellij-plug-in?view=azure-devops
Select get from Version Control
Then select your Azure TFVC DevOps Repo and then clone.select AzureDevops TFVC

"Best Practices" doc for Devs reconfiguring Team Explorer when migrating Collection to new server?

I am planning to soon migrate a couple of Collections from a on premises TFS 2017 server to a on premises Azure DevOps 2019 server. These collections have multiple Git repos, no older VSTS style code repos.
I've found all sorts of good documents covering how to migrate the collection- and I am able to do that with ease. I took snapshots of my old and new servers and did a temporary test move over a weekend, everything came up just fine. I then reverted to the snapshots.
Does anyone know of a good document or URL for me to provide as instructions to my 20+ developers for them to reconfigure their Team Explorer in Visual Studio? The Collections on the old server will be detached, so there's no need for them to continue to have the old server configured. I don't want anyone to have to completely switch to the new server in a way where they lose any git branches that they only have local (not pushed up to the server.)
I myself only use TortoiseGit to interact with the git repos. I can see in my git repos, I go to the .git folder and change the URL in the file named "config" and the repo is switched over painlessly.
Almost all of the devs only use Team Explorer. If anyone knows of a good guide that I can walk them through with to make the switch from within Team Explorer instead of having to edit text files and registry keys, I appreciate it.
Thanks!
If I understand you correctly, you are looking for guides to connect your devs' Team Explorer in Visual Studio to the projects in the new on premises Azure DevOps 2019 server.
You can check the documents provided in Microsoft site Connect from Visual Studio or Team Explorer.
For more detailed steps you can check out this thread.
You can ask your devs to follow the steps in above thread to add the URL of the new server to Team Explorer. Then they can switch to code repo of new server.

Migrate Visual Studio Team Services project to new Visual Studio Team Services account with History

I'm using Visual Studio Team Services xxx.visualstudio.com. Now I have to move entire solution with history to yyy.visualstudio.com. Please let me know how to proceed.
I'm using Visual-studio 2012.
If you need to move the data to a new about that already has data then you need to do a migration. Look at the TFS Integration Tooling.
I recomend that you drop history if you are using TFVC. Git can be migrated easily by simply adding another origin.