Setting up TFVC repo in Visual Studio Code for Mac - visual-studio-code

I am trying to to set up a Team Foundation Version Control (TFVC) repository hosted in VSTS on my Visual Studio Code for Mac. I haven't used Visual Studio at all. Apparently, my client is using TFVC system as their main approach for repo management.
However, I tried downloading the source as a Zip from the VSTS web site but Visual Studio Code for Mac (with the VSTS extension configured) did not identify that folder is a VSTS repo (Showing the "team" icon).
Tutorial I followed to configure - https://github.com/Microsoft/vsts-vscode/blob/master/TFVC_README.md#quick-start
May I know what I am not doing right here? or simply is it because you can't work with VSTS with MacOS system.
I don't have a PC btw

You can't download the source as zip.
You can create workspace and get the source through tf command (TEE cli): Cross-Platform Command-Line Client- Beginner's Guide.
Then click File > Open Folder > Select that folder to open, then click Team icon to login.
On the other hand, you can use TEE in eclipse to do that through UI way.

Related

Visual Studio 2017 and Visual Studio Code is not synched when new folders/files are created in vscode

I'm currently working for a new company, where most of the guys develop in Visual Studio 2017 (vs2017). I really like it, but feel more comfortable working with Visual Studio Code (vscode), and because, my work does not require any build processes.
Here's the workflow: I've put the workspace folder in C:/ directory, and open it through vscode. Whenever I apply code changes, the results are visible in vs2017 IDE. But when I create new folders/files in vscode, I don't see it in vs2017...
And because files/folders are not synched, I feel stuck using vs2017. An alternative is to do these operations on vs2017, and code in vscode. But I don't see this as a beneficial and efficient in hindsight.
To summerize, how can I create files/folders in vscode, or lets say in sublime/atom/brackets for that matter, and see it in vs2017?
Solution to my question can be found here.
In short, you have to enable show all files in solution explorer in vs2017, then right click on the newly added folder (marked in gray), and click include in project.
I recommend doing this everytime you open vs2017.
PS! Open for other alternatives where you can skip this process, it may be stress to do this when project scales.

Unable to do a 'get' using Eclipse TEE Plugin (TFS)

I am running into an issue where the Eclipse TEE/TFS plugin is not allowing me to download the latest scripts out of TFS. When I right click in Project Explorer & select Team, none of the features are available (Get latest version, Rollback, etc). Only Apply Patch and Share Project appear under 'Team' sub menu item. I am connected to the TFS project under Team Explorer and my Local Path is appearing properly. Workspace and project appears to be setup properly - I setup the same way on another machine, yet I'm running into this issue.
A workaround is browsing to the files in Source Control Explorer.
Also. try to create a new eclipse workspace and import the project from TFS to see whether your issue can be solved.
The root "RF Scripting" folder you opened in the Project Explorer is not a workspace, so the plugin does not consider it and all its sub folders as TFS working folder.
If you want to get the TFS options from Project Explorer, click "File -> Open Projects from File System... -> Directory..." and then choose "C:\RFTestAutoDev\RF Scripting\xxxTest Automation (I suspect this is the folder you configured as workspace)" as the directory.

Does the Microsoft Installer Project extension for VS2017 work correctly with Team Services?

We've updated to Visual Studio 2017 and switched to Team Services (VSTS) as our source control. I've migrated a few old projects and am using the Microsoft Installer Project extension to provide compatibility for the original setup projects.
However, there seems to be a potential issue with source control when working with the setup projects. Attempting to make any change results in the error:
The command you are attempting cannot be completed because the file 'Setup[Productname].vdproj' is under source code control and is not checked out.
Modifying files of other projects within the solution work correctly and trigger checkout from the repository.
I have not been able to determine a way to properly check out the setup project and work with it under the new source control. I'm unsure if it's a bug with the extension or if it simply lacks support for VSTS.
Has anyone successfully been able to work with setup projects (.vdproj) in conjunction with VSTS? If not, is there a workaround?
Edit:
Image of context menu:
You can apply the following workaround, since it seems to be a bug in the installer extension:
Choose 'Open file in File explorer' in your context menu
Open the project file in your favorite texteditor
Make a dummy change (adding a space character in an empty spot is enough)
Visual studio will prompt to reload the project and has explicity checked out the project file.
see also here
I submit a feedback here: The command you are attempting cannot be completed because the file 'Setup[Productname].vdproj' is under source code control and is not checked out
The workaround is that you can check out the project manually. (Right click the installer project > Check out for edit)

Tfs connect project and map it

I'am having problem with team foundation server.(http://tfs.visualstudio.com/). I created project from there(http://tfs.visualstudio.com/). And I click Open New Instance of Visual Studio.
And Team Explorer is look like:
Then i click File>New Project and clicked Add to Source Control and selected My project name in TFS. So i uploaded my project and it added to my tfs project. But i dont know how can i share my project in tfs. I tried this:
Entered my friend live id(hotmail). Then he signed up and he did same steps like me. But how can he download project that already exist? I did not see specific setting for that.
What i must supposed to do?
He must use the menu File > Open > Team Project. Visual Studio will probably ask for a TFS server, when you set the server URL, he will be able to see the collections and projects, then, he can open the project.
Or, on the window you showed (Team Explorer), he can click on Source Control Explorer and open the solution from there.
Visual Studio will ask for a mapping directory.
If you are trying to connect to Team Foundation Service via VS 2008 following steps have to be done,
Install VS 2008 SP1, Team Explorer 2008 and GDR update (VS90SP1-KB2673642-x86)
Connect manually to Team Foundation Service
Team Explorer -> Servers -> Add -> type
https://[YourAccount].visualstudio.com/DefaultCollection
Make sure to add /DefaultCollection.

"Map to Local Folder" option missing in VS2008

A colleague has installed VS2008 Team Explorer (as part of his role in Scrum) and can successfully use Work Items, Documents and Reports. I now want him to use the TFS Source Control for non-code files (documents etc). He can successfully open Source Control Explorer but everything is greyed out as nothing has been mapped locally. Unfortunately, the "Map to Local Folder" option is missing from the context menus.
Is there another component he needs to install in order to use the Source Control part of TFS?
If he installs SP1 of Visual Studio 2008 he'll find it much easier to use. SP1 includes things like drag-drop into Source Control Explorer to add files, easier local folder mapping and links to open the local folder in windows explorer from the source control explorer.
You might also want him to install the TFS 2008 Power Tools - especially the Windows Shell Extensions (not selected by default in the installer) as they make it easier to deal with files outside of Visual Studio. This is very handy for word docs etc.