tfvc

How to connect TFS in Visual Studio code without Azure Repo

[亡魂溺海] 提交于 2020-06-23 14:10:33
问题 I have just started a project in angular 8 for my work. I am very new to angular. I was suggested to use VS code for development. I have successfully perform the initial installation and also have successfully build couple of html pages. Now i want to commit all the development work to tfs.. I did a lot of research and all the article suggested to use Azure Repo. My work does not have Azure Repo. So my question is, are there any other ways to connect to TFS from Visual Studio Code. And how

When my TFS build is triggered by a branch-specific check-in, why doesn't it set that branch as its source?

♀尐吖头ヾ 提交于 2020-06-01 06:55:08
问题 My goal is to create a TFS CI Build that is triggered by check-ins on two specific branches of a project, hosted in TFVC. When I queue the build manually and type a specific branch in the "Shelveset name" field of the queue prompt, the build works as intended. However, when I check in changes from one specific branch, the build attempts to use the parent folder of the two branches as its default source, resulting in incorrect file paths throughout the build definition wherever I use the $

Code branched/shared on VSTS and Local TFS

好久不见. 提交于 2020-03-03 10:05:12
问题 TFS is used in house. Would like to use VSTS to collaborate with an external resource. Logically, I would like to create a branch from the in-house TFS to a VSTS repository, but TFS and VSTS can't be mapped to the same file system location. I have seen ways to do one-time migrations from one system to the other, but I can't find any guidance about living in both systems at the same time. How do I manage the same code in both TFS and VSTS? 回答1: This is possible if you make the switch to Git,

Avoid accidental overwrite between different developers upon checkin or merge

倾然丶 夕夏残阳落幕 提交于 2020-01-24 11:34:25
问题 Different developers check in the code touching the same file or different branches could be getting merged. I am new to TFS from the admin side but I do know how to do basic check-in of the code. How can I avoid the code collision from admin side? We are using Microsoft Team foundation server as version control. 回答1: Version control systems are made to allow different users to edit the same files and so that when merging, it provides a reasonable experience upon merge. The ability to check

How to map existing folders (which are moved to new machine) with the TFS without need to download the entire data from TFS?

梦想与她 提交于 2020-01-21 06:32:30
问题 Earlier I had mapped my local folders to the TFS. I had to change machine/computer for some reason. So I copied all the folders to the new machine. Now when I try to map the TFS folders to the existing folders on the new machine, it always shows Not Downloaded under the Latest column of the Source Control Explorer (VS 2010). I can get the latest version but it's very time consuming. Can someone suggest a way to establish relationship between existing folders and the TFS folders in lesser time

Registering custom checkin policy for Certain users in TFS

这一生的挚爱 提交于 2020-01-03 02:10:43
问题 I have created custom checkin policy for TFS. It is deployed to the client system. I have added the custom checkin policy for project collection in TFS. But I have a number of clients that have not installed the custom checkin policy, when these developers want to check in, Visual Studio shows an error Internal error in Check for PMS Details. Error loading the Check for PMS Details ... So I want to apply the custom checkin policy for certain users. For example the user is admin then no need

Is it possible to do a “destroy history” in TFS?

僤鯓⒐⒋嵵緔 提交于 2020-01-02 02:23:08
问题 Is to possible to "purge" history from a given change set/date in TFS? So, for example, For file X destroy all version older than date Y. or destroy all version before revision Y. 回答1: Yes you can - http://msdn.microsoft.com/en-us/library/bb386005.aspx - TF Destroy $/MyTeamProject /keephistory /stopat:C864 来源: https://stackoverflow.com/questions/3965361/is-it-possible-to-do-a-destroy-history-in-tfs

Building specific branches on Visual Studio Team Services

故事扮演 提交于 2020-01-01 04:16:14
问题 I have a repository in VS Team Services which is setup as : -root | | -Dev (.sln) | | -Releases | | - Test (.sln) | - Live (.sln) Each build is working fine, however its pulling the entire repo and I just want it to pull a specific branch (Dev, Test or Live) So I'm selecting the Solution.sln file in the dev branch... 回答1: On the Repository tab you can specify your workspace mappings, the default mapping grabs your whole repository excluding the $/project/drops folder. By changing the first

Move TFVC code from one collection to another including history

拈花ヽ惹草 提交于 2019-12-31 05:11:09
问题 I need to move some code from TFVC in one project collection to a project in another collection. I also need to retain the check-in history, I'm not worried about the changeset ids but do want to retain the comment / who and when in the history along with the changes made. The project being moved to will be empty. This will be using on premise TFS2017 Update 3. (In preparation to migrating the collection to VSTS) Any suggestions on how to do this please? 回答1: There is a request for this

Cannot check-in recent code changes to Visual Studio Online

情到浓时终转凉″ 提交于 2019-12-24 11:25:04
问题 For some reason I cannot check in my code to our Visual Studio Online account. Other developers can, but not me. This is the error I am getting: "Could not find dataspace with category VersionControl and identifier [some guid] " Searching for any help on the above error is not returning anything meaningful. This started to happen after I installed Visual Studio 2015 Enterprise. I launched it for the first time after creating a new web application with Visual Studio 2013. I then opened that