tfs

Where do I administer the email addresses of TFS users?

懵懂的女人 提交于 2019-12-28 17:42:53
问题 In my Team Foundation Server, I have a collection containing a Team Project. This Team Project has several contributors. The following lines of code get all contributors of that project: TfsTeamProjectCollection collection = new TfsTeamProjectCollection(new Uri("http://tfs:8080/tfs/CollectionName")); IGroupSecurityService groupSecurityService = collection.GetService<IGroupSecurityService>(); Identity contributors = groupSecurityService.ReadIdentity(SearchFactor.AccountName, "[ProjectName]\

Where do I administer the email addresses of TFS users?

▼魔方 西西 提交于 2019-12-28 17:42:10
问题 In my Team Foundation Server, I have a collection containing a Team Project. This Team Project has several contributors. The following lines of code get all contributors of that project: TfsTeamProjectCollection collection = new TfsTeamProjectCollection(new Uri("http://tfs:8080/tfs/CollectionName")); IGroupSecurityService groupSecurityService = collection.GetService<IGroupSecurityService>(); Identity contributors = groupSecurityService.ReadIdentity(SearchFactor.AccountName, "[ProjectName]\

Error TF218027 when creating a Team Project in TFS 2010

末鹿安然 提交于 2019-12-28 06:01:21
问题 Consider the scenario of a user creating a new Team Project. The user is a developer who wants to create and manage their Team Project. Why can't this user create a new Team Project, including the Reporting Services components? What can be done to resolve this error? The exception is TF218027: the following reporting folder could not be created on the server running SQL Reporting Services. SQL Reporting services is running under an Active Directory service account created expressly for this

Error TF218027 when creating a Team Project in TFS 2010

夙愿已清 提交于 2019-12-28 06:01:16
问题 Consider the scenario of a user creating a new Team Project. The user is a developer who wants to create and manage their Team Project. Why can't this user create a new Team Project, including the Reporting Services components? What can be done to resolve this error? The exception is TF218027: the following reporting folder could not be created on the server running SQL Reporting Services. SQL Reporting services is running under an Active Directory service account created expressly for this

Custom TFS Check-In Policy in Visual Studio 2017

…衆ロ難τιáo~ 提交于 2019-12-28 05:33:11
问题 A while ago I developed a custom TFS check-in policy that was working fine with Visual Studio 2015 . Now I installed Visual Studio 2017 and wanted to register the check-in policy assembly the same way as I did with VS2015 before. But this does not work. How can I register custom check-in policy assemblies with VS2017? For VS2015, I had these registry keys: [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\TeamFoundation\SourceControl\Checkin Policies] "MyCheckInPolicy"="C:\

how to remove TFS workspace mapping for another user

萝らか妹 提交于 2019-12-28 05:16:08
问题 I am using Visual Studio 2010. Some months back I was using some 'ABC' TFS user to connect to TFS and mapped some folders on my local drive. Now my previous user 'ABC' is gone and I am allotted a new tfs user 'XYZ' to connect to TFS. So naturally I tried mapping some remote folder to my existing local folder and I got the following error. "The working folder 'Some_Local_Path' is already in use by the workspace WORKSPACE_NAME:USER_NAME on computer 'MACHINE_NAME'" I have tried removing the

Gated check-ins / pre-tested commits for Git?

杀马特。学长 韩版系。学妹 提交于 2019-12-28 04:49:08
问题 I'm looking at migrating from TFS (Team Foundation Server) to Git, but can't find anything matching TFS' support for gated check-ins (also called pre-tested or delayed commits). Atlassian Bamboo has no support for gated check-ins. TeamCity does support it ("delayed commits" using their terminology), but not for Git. Using Jenkins by itself or Jenkins+Gerrit has huge drawbacks and doesn't come close to the gated check-in functionality in TFS. (Drawbacks explained by the creator of Jenkins

How to trigger a build in TFS 2015 using REST API

旧街凉风 提交于 2019-12-28 04:18:29
问题 I have TFS 2015 RC2 installed on-premise. I'm trying to use REST API to queue a build in a vNext definiton. I'm using the code sample from VSO with slight modifications (mostly change of URL and authentication method to work with on-premise TFS). There are two REST API calls I'm using. The first is: GET http://mytfssrv:8080/tfs/DefaultCollection/myproject/_apis/build/definitions/ Which returns all specified project build definitions: build definition with ID 1, which is a XAML build

Re-establish TFS source control bindings

佐手、 提交于 2019-12-28 01:51:34
问题 I have about a dozen Visual Studio 2010 projects I've been working on that are versioned in a TFS repository. Recently I went on a vacation and upgraded my computer's OS to Windows 7 64 bit. I've reinstalled Visual Studio, and I can connect to my Team Foundation Server and see my projects...only my bindings aren't working correctly. Most of the time none of my files seem to be under source control, but in a couple of projects my source control bindings are OK in the root folder, but not

How can I always block checkin of a specific file in TFS

青春壹個敷衍的年華 提交于 2019-12-27 16:50:53
问题 There is one file that I always made changes to, but that I never want to be checked in. I would like TFS to block me from ever checking it in or committing the changes. How can I configure TFS to do this? Details: There is another developer on the project that has checked in some bad code that I prefer to comment out on my local machine. Since they are a client, I prefer to keep this a technical exercise rather than make it a political one. 回答1: One of TFS undervalued features is cloaking.