Visual Studio team services for Mac - macos

I am working on Xamarin visual studio on Mac and we are using visual studio team services for our project.I have no problem pulling the code but I can't seem to be able to Check in any file I modify to the team service.

If you are using GIT just take a look at below tutorials:
Working with Git on Visual Studio Mac
Xamarin DevOps with VSTS - Getting Started(Visual Studio for Mac has replaced Xamarin Studio, but similar steps on git)
For visual studio Mac, TFVC also supported for now.
However, this is only a preview feature as you can see the comment from PM:
I’m happy to say that our first preview of this feature is now
available – check out the announcement blog post.
https://blogs.msdn.microsoft.com/visualstudio/2018/05/07/visual-studio-for-mac-version-7-5-and-beyond/
I’ll continue to share out updates here as we make updates to the
preview.
Jordan Program Manager, Visual Studio for Mac
According to the comment below the blog, seems not stable for now.
For now, you want a more stably solution of using TFVC source control on Mac. You could try to use Visual Studio Code , which is more of a quick; light weight code editor.
With the help of Visual Studio Team Services extension on Visual Studio Code, it allows you to connect to Team Services and Team Foundation Server and provides support for both Team Foundation Version Control (TFVC), GIT. More details please take a look at Connect VS code with TFS on mac

Related

Team Foundation Server Power Tools for Visual Studio 2019

We use Team Foundation Version Control(TFVC) on on-prem TFS server. For quite a while it was possible to use TFS Power Tools (tfpt tool) from Visual Studio Developer Command Prompt. Lately we moved to VS 2019. Problem is that we can't find any proper TFS Power Tools for VS 2019. For example to do undo checkout of unmodified files.
Does anyone had similar problem not being able to use tftp tools from VS 2019?
Does anyone had similar problem not being able to use tftp tools from VS 2019?
Sorry for any inconvenience.
This is a know issue about Visual Studio 2019. The Team Foundation Server Power Tools currently only updated to TFS2017, TFS2019 is not yet available.
Besides, Power tool has been renamed TFS Process Template Editor: TFS Process Template Editor
Edit: As of 10/16/2020 there is a TFS Template Editor for Visual Studio 2019
MS engineers are trying to develop it and will release it so that you can use it as soon as possible.
If you want to modify the work items, you can modify the work items by referring to the following documents:
Import, export, and manage work item types
Hope this helps.
For undoing unmodified files changes you can use this extension https://stackoverflow.com/a/52839174/6300406

Visual Studio for Mac connecting to VSTS Projects

I am having some difficulties trying to get Visual Studio for Mac to connect to my VSTS projects through my Visual Studio monthly plan.
I have followed this guide: https://learn.microsoft.com/en-us/visualstudio/mac/tf-version-control
I got the extension, but what I am not seeing are the projects listed. I am able to see the projects on Visual Studio 2017 on Windows. For the Mac version, I am just seeing VSTS, 3 Projects. None of my projects are showing up. Even if I complete the guide, I am not seeing any of my projects in the Mac version.
Am I doing something wrong, or does Microsoft just not support their own services?
Thanks!
The guide you refer to is for using Team Foundation Version Control (TFVC) with Visual Studio for Mac, not Git. I suppose the 3 projects you can see are using TFVC version control.

Is TFS available in Visual Studio for Mac

I haven’t find TFS in Visual Studio for mac, Is any alternative tools available for that.
TFS is a rather broad term and describes a whole suite of solutions. I’m assuming that you mean the version control section for my answer.
There is no support for TFVC, which is the older versioning control system that used to be default in TFS.
Since some time now, TFS and VSTS (basically the cloud hosted version of TFS) have switched to Git. Git is supported from Visual Studio for Mac as well as a lot of other tools of course.
If you still want to use TFVC, I have only found one option which isn't pretty. I installed Eclipse (the IDE for Java) which has a plugin for the TFVC version control. It looks and works pretty similar to how it looks in Visual Studio for Windows. It has some quirks and I would be surprised if it is still actively maintained, so use with caution and if you have the possibility look into switching to Git.
Edit though they seem to be working on it! If you check out the linked blog post you will see that support is in the works and I think there is a preview you can download today.
For Visual Studio Mac, TFS is supported for now. There has been a uservocie, you can vote up and monitor it.
TFS Version Control
https://visualstudio.uservoice.com/forums/563332-visual-studio-for-mac/suggestions/17136163-tfs-version-control
However, this is only a preview feature as you can see the comment from PM:
I’m happy to say that our first preview of this feature is now
available – check out the announcement blog post.
https://blogs.msdn.microsoft.com/visualstudio/2018/05/07/visual-studio-for-mac-version-7-5-and-beyond/
I’ll continue to share out updates here as we make updates to the
preview.
Jordan Program Manager, Visual Studio for Mac
According to the comment below the blog post, it seems not stable for now. If you want a more stably solution of using TFS source control on Mac, you could try to use Visual Studio Code, which is more of a fast, lightweight code editor.
With the help of Visual Studio Team Services extension on Visual Studio Code, it allows you to connect to Team Services and Team Foundation Server and provides support for both Team Foundation Version Control (TFVC) and GIT. More details can be found at Connect VS code with TFS on mac
As of VS 2019 for MAC, support for preview as well has been dropped.
Caution
The preview TFVC extension for Visual Studio for Mac is no longer supported in Visual Studio 2019 for Mac.
As per this doc, it's recommended to use GIT for version control. Otherwise, if there's no option then to use TFS on macOS several options are also provided in the link.
Option 1. Use Visual Studio Code and the Azure Repos extension, for a
graphical UI
Option 2. Connect to your repo using the Team Explorer Everywhere Command Line Client (TEE-CLC)
Also, there's eclipse plugin available for TFVC on mac

Can we integrate TFS with Visual Studio for Mac?

I am using Visual Studio Community version 7.3.3 for MacBook. I am working on a project where the repository is hosted in Team Foundation Server (TFS). Can I integrate that using the Version Control option in Visual Studio. Git and SVN are possible thats what I heard. But need some help on this.
This requirement is under plan now. Please check this uservoice:
We’ve been working on some technical prototypes to see how we could
best connect to TFS from a Mac and at this point I’m happy to say that
this work is now planned for an upcoming release. Please keep an eye
on this site for updates!
As of now TFS integration is not implemented for Visual Studio in Mac, they are working on that. Got this information from one person who is directly involved in the development of Xamarin for Mac.
According to this Link this feature is now officially supported and deployed with the new version Visual Studio for Mac (extension v0.3)

TFS Windows Explorer Integration - Getting version history outside of VS

I worked for year using CVS source control with Windows Explorer integration using TortoiseCVS which enabled me to view the history of my files in a graphical way and allow me to compare any 2 versions of the file without the need to open IDEs.
Lately I started working in a new place that uses TFS which require me to open Visual Studio every time I want to see the file history.
It would be great to have this level of integration between TFS and Windows Explorer. I wonder if any third party has developed such functionality?
Currently I use C# with Visual Studio 2013.
This is what I see when I choose Revision Graph:
Shell integration can be installed as part of the Visual Studio Power Tools for Team Foundation Server 2013. Make sure you check the "Windows Shell Extensions" option.
To see the revision graph, I am afraid you still need to open Visual Studio and use the Track Changeset feature which seems the closest as far as I can tell.
That and the "Incoming Changes" codelens that was added to Visual Studio 2013 Ultimate and which is going to be part of Visual Studio 2015 Professional and up.

Resources