Can not connect to tfvc with visual studio code - tfs

First of all, I am very new in the programming. I learnt a lot (thanks to my teacher :D) and now I and my 2 friends has a common project. We thought that we could build a webpages with .ASP, jQuery, C#, sql. I am the front-end guy therefore I use Visual Studio Code. We have a common vsts. I downloaded the latest version of visual studio code and the latest version of team services extension, red a lot of documentation that explains how I need to do this. I got this error message:
(team) No Team Services or Team Foundation Server repository configuration was found. Ensure you've opened a folder that contains a repository.
Please someone explain me how can I connect. I would appreciate it, if you make a short and fast tutorial video. I can do almost everything from documentations or tutorials, but now, I really don't know where I am.
Thanks your help in advance! <3

First you should use the official Visual Studio Team Services Extension for Visual Studio Code which released by Microsoft.
It supports both TFVC and GIT version control type.
Clone your Git repository
With Git, the extension uses the remote origin of your repository to
determine how to connect to Team Services (or your Team Foundation
Server), in most cases you will need to have a Git repository already
cloned locally. If you intend on cloning an existing repository, do so
before proceeding. If you do not have a Git repository cloned locally
but already have a Team Services account (or a Team Foundation Server
instance), you may create a local repository (via git init) and once
you set the "origin" remote for that local repository, the extension
will detect the change to the remote and attempt to contact the Team
Services account (or Team Foundation Server).
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:
Set up the Team Services extension for Visual Studio Code - If
you haven't used the extension before, this video will show you how
to set it up, create a personal access token and get up and running.
Walkthrough of the Team Services extension for Visual Studio
Code - This is a walkthrough of most of the features of the Team
Services extension.
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 Mac, please take a look at this answer.

Related

Can we have only VS Code instead of Visual studio professional version for connecting TFS?

I am trying to evaluate VS Code instead of VS professional version for my work.
Can I use VS code with TFS for daily operations like?
Create work space?
Get latest source code?
Code checkin?
Shelve set?
Code review request ?
etc?
As jessehouwing mentioned most of that are supporeted except for the Code Review bits.
You need to install Visual Studio Team Services Extension for Visual Studio Code
The following are the current features supported by the extension:
Execute all basic version control actions such as add, delete, rename, move, etc.
View local changes and history for your files
Include and Exclude changes (and move files between the two states)
Merge conflicts from updates
Check-in and update local files
Associate work items to check-ins
Provides an integrated TFVC Output window
Support for a TFS proxy
Supports workspaces created with Visual Studio (via tf.exe) or the JetBrains IDEs and Eclipse (via the Team Explorer Everywhere Command
Line Client)
To start using the TFVC features, review the documentation and
check out the TFVC Source Code Control for Visual Studio Code
video which shows you how to configure and use the TFVC features.
The extension supports TFVC across Windows, macOS and Linux (with
separate configuration instructions for macOS and Linux; see
video).
If you’ve never used the extension before, we also have a
walkthrough to get you started.
Source here : Official Release of TFVC Support for Visual Studio Code

Ceate repository for android on tfs

I want to upload android source code on TFS using visual studio and my server side is written using C#
how to create repository for android on TFS
UPDATE1:
Please read Get Started documents first:
Get Started with Git and Team Services
Get Started with TFVC
UPDATE2:
If you just want to isolate the documents from the source code, you can create a new folder under the project, or create a new branch to store the documents, of cause you can create another repository, it's based on your requirements. Please see this article for details.
Do you have any special requirements? If not, nothing different with other projects. Assuming you are using TFVC, just try following below steps:
Connect from Visual Studio or Team Explorer
Create a team project
Add repositories
Configure your workspace and check in the source files/changes.
You can create the repository individually for client and server projects as needed.
If you just want to upload the existing source code to TFS, you just need to Put an existing solution under version control
Please see the overview documents for more information.
If you are using Android Studio, you can install the Team Services Plugin for Android Studio with Git repositories used. See here fro more info.

using both Visual Studio Team Services and Codeplex for repository

I started a utilities project in Visual Studio Team Services where you could have multiple developers on a project, but ended up not needing the extra developers, but still liked the Visual Studio Team Services interfaces. I wanted to be able to share some of the projects I do to people that read my blog, but found out after I was using it for a while that I could not give access to the public (or at least I couldn't find away). I know Codeplex allows you to do this since it is specifically for open source projects.
Is there any way to keep the Visual Studio Team Services and the TFS on Codeplex in sync so I can work from one source control primarily? or even better, is there a way to publicly share by URL stuff you work on Visual Studio Team Services?
There is not currently a way to share any Team Services content publicly.
However, if you use Git as your VCS in Team Services you can easily add two Origins and push to both with "git push -all".
If your codeplex repo is also git you can easily share.

team foundation server (TFS) in the cloud not able to delete / adjust mapping

I tried out the TFS Service with a project of mine. After I experienced some problems (probably misuse) I used VSUnbindSourceControl.exe (see: http://vsunbindsourcecc.codeplex.com/) to detach the project (locally) from the TFS, but it looks as if on the server side, the project that was uploaded, is still bound to my computer.
See image:
and the error message in the output window:
Failed To Create Mapping
The working folder G:\Quant tool DotNet4 is already in use by the workspace USER-PC;myemail# somedomain dot com on computer USER-PC.
(I now use a different email address than the one above)
I've tried to delete the project from the server via the Source Control Explorer in VS, but the delete option is disabled. (also when I login with mldz at hotmail dot com.
I was also not able to delete the project or change it's settings via the TFS web interface.
Anyone experience with this problem and how to solve it with the new TFS in the cloud? i saw some similar problems with a normal TFS and some solutions could be done via the the team foundation administration tool, but that cannot be applied to the TFS in the cloud (AFAIK)
Some info about trying to install TFS integration tool
Hi,
I use VS2012 express and although I installed vs_teamexplorer.exe,
I'm not able to install Microsoft Team Foundation Server Integration Tool.
Already restarted the computer after installation and tried again. Doesn't work. Missing something?
regards,
Matthijs
You can use the same admin tools for tfs.visualstudio. See examples. At end of http://msdn.microsoft.com/en-us/magazine/jj130558.aspx article which show deletion of workspaces, for example.

How do i configure team system 2008

I am installing VSTS. What components do i need to install for both .net & sql server. ?
How do we configure our projects?
There are two parts to a successful Team System environment: Team Foundation Server and Visual Studio Team System.
For best results, install the former on a dedicated server. There are great resources to help you through installation right from Microsoft. There's even a video series of TFS-related content!
Once your Team Foundation Server (TFS) is installed, Visual Studio Team System (VSTS) is installed on your development workstation. VSTS looks just like any other VS install at startup. To configure it to work with your TFS instance, go into Tools > Options and Select Source Control: here you will see a pull down which should contain an entry entitled Visual Studio Team Foundation Server. I forget how to select your TFS server instance for VSTS to work with but I don't recall having trouble with it when I did it a few months ago.
Once you've configured all that, you interact with your TFS work items and source code from the Team Explorer and Source Control Explorer panes in VSTS: it should begin to feel rather like using VS without integrated source control from there forward.
The bigger issue is configuring your process in TFS to reflect your project's strategy, etc. That is an exercise in thought/reading more-so than how to configure it.
All this documentation is readily available via Microsoft's website. It does require some reading but devote some time to it: it'll pay off in the long run.
Team Foundation Server Requirements

Resources