tfs2010

How to open a tfs work item inside Visual Studio 2010 inside a Extension?

纵饮孤独 提交于 2019-12-08 13:55:55
问题 I'm developing a VS 2010 Extension, and I would like to know if there is a way to open a Work Item in the Team Explorer Work Item Editor ? What code should I call to accomplish this? I'm clueless. 回答1: There is a extension,TEK Workitem, in Visual Studio Gallery, that allows to open workitems and queries in Visual Studio from a hyperlink. You find more details on the Gallery: TFS Extensions Kit. Workitem 回答2: I am not 100% sure what you are asking for because I don't know what the "Team

TFS 2010 - The server returned content type text/html, which is not supported error, solution?

▼魔方 西西 提交于 2019-12-08 12:10:47
问题 I have a setup a new TFS 2010 build definition. When I run the build for this build definition I get the following error during a "GET" operation: "The server returned content type text/html, which is not supported" 13:48 Overall Build Process 00:00 Update Build Number 00:00 Create the Drop Location 13:46 Run On Agent (reserved build agent [Test] Agent - xyzbuild) 00:00 Delete Test Results Directory 00:00 Delete Binaries Directory 03:24 Delete Workspace 00:00 Delete Sources Directory 00:01

TFS 2010 Cannot Change Accout Identity

删除回忆录丶 提交于 2019-12-08 10:13:44
问题 I have recently moved our TFS 2010 server to new server, when I'm trying to configure Reporting server and enter the server name and populate URLs and then press ok, the tfs tells me that user or group is not recognized I tried to run this command TFSConfig identities /change /fromdomain: OldComputerorDomainName /todomain: NewDomainName /account: OldTFSServiceAccount /toaccount:NewTFSServiceAccount in order to change the account identity as i moved from a domain to another domain but it doesn

Migrating a branching strategy from ClearCase to TFS 2010

拈花ヽ惹草 提交于 2019-12-08 08:21:39
问题 I am in an "internal" IT shop and we currently use ClearCase for version management. Our branching strategy is common for this with the main branch being reserved for live code and branching off main for project and hotfix type activities. Each project (and they overlap often) has a branch off main, we don't have multitiered branching. We get the situation were we have to do merging between integration branches so that the release 4 branch picks up all of the release 3 changes (for example)

How to get the WorkitemCollection from WorkItemStore using Query(Ids, QueryString) Method

瘦欲@ 提交于 2019-12-08 05:06:37
问题 I have stuck on one problem where I want to get the WorkItemCollection from the WorkItemStore . I know it can be possible by using Query() Method. But in my scenario Query method is not working as I am using method WorkItemStore.Query Method (Int32[], String). with the String argument as Select [System.Id],[System.State],[System.Title],[System.WorkItemType] from WORKITEMS where [System.WorkItemType] = 'Requirement' and [System.TeamProject] = 'Test_Baseline' But while executing this query It

Prevent WCF *.datasource files from being checked-in

狂风中的少年 提交于 2019-12-08 04:57:24
问题 Since the WCF proxy generated *.datasource files give problems with long file paths when checking them into the TFS 2010 source control system, I would like to be able to add them to the list of files that, by default, are not marked as a pending add to be checked-in. Is it possible to configure file exclusion by extension at TFS project or collection level? 回答1: Ah, found out that (at time of writing) this is a recognized wish on the backlog of the Visual Studio team: https://connect

Does TFS Record the Parameters to a Build?

≯℡__Kan透↙ 提交于 2019-12-08 03:58:00
问题 When queueing a new build, we get the option to change the default parameters. Do these changes get recorded somewhere, either in the TFS Operational Store or in the TFS Data Warehouse? 回答1: These parameters should be available in the Team Foundation Build Operational Store, according to the behavior described in http://msdn.microsoft.com/en-us/library/ms244687.aspx. 回答2: My advice is to log them as part of the build workflow, then the log will be stored with the build outputs. If you read

How to get query names that references the particular iteration path

喜欢而已 提交于 2019-12-08 03:51:13
问题 With selected project name, I had loaded iteration paths. Now I need to get the query names that references the selected iteration path. Code to load iteration paths passing project name: private void LoadIterationPaths(string projectName) { var tfs = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(_tfs.Uri); var wiStore = tfs.GetService<WorkItemStore>(); var projCollections = wiStore.Projects; var detailsOfTheSelectedProject = projCollections.Cast<Project>().Where(project => !String

Publish to FTP after TFS 2010 build quality change

依然范特西╮ 提交于 2019-12-08 02:55:47
问题 When I change the quality of a build in TFS 2010 (to production quality), I would like to have the build uploaded to my FTP site on a remote server. Are there any tools you know of that can accomplish this? If not, any suggestions on how I can do this myself? 回答1: If you want to automate this you probably need to use the notification system in TFS. You would need to build a web service that receives the notification from TFS and then have that web service do the FTP upload or make it queue a

RegisteredTfsConnections.GetProjectCollection returns null on test server, but not on dev server

若如初见. 提交于 2019-12-08 02:38:12
问题 See topic. Everything works fine on my devmachine where VStudio2010 are installed. But not on a clean test server (The setup project includes all used TFS assemblies). The docs http://msdn.microsoft.com/en-us/library/ff735997.aspx is not very helpful about the return value: Null if no match is found. Should I use another method to get a TFS connection? I'm just trying to list and download some files from a specific project. Update I reverted back to this: var uri = new Uri("http://myserver/")