tfs2010

How to find out who ran the TFS Destroy Command?

半腔热情 提交于 2019-11-30 13:22:34
问题 I have reason to believe that the TFS Destroy command was run on my server. Does TFS provide a way to find out who and when it was done? 回答1: TFS logs all user-initiated commands in the database for 14 days. Try connect to your Tfs_Collection database and run the following query: SELECT * FROM tbl_Command WITH (NOLOCK) WHERE Command = 'Destroy' Additionally, any time a Destroy command is run, an event is logged to the Application Event Log on the Application Tier that processed the command.

TFS “Assign To” is showing too many users

左心房为你撑大大i 提交于 2019-11-30 13:10:04
问题 I am connected to a TFS server, and when I create a work item (Bug, Task, etc.), the "Assign To" shows WAY too many users. I cannot find a way to limit the users shown that will affect anyone else who connects to the server. For example, I have under the "Assign To" dropdown: Administrator LOCALE SERVICE User 1 User 2 User 3 User 4 User 5 I want the "Assign To" dropdown to only show: User 1 User 3 User 5 How would I do this, so that it changes on the server, and if anyone new connects to the

WCF Proxy Returning Array instead of List EVEN THOUGH Collection Type == Generic.List

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 12:20:26
I have a VS 2010 solution containing a WCF Library project and another project consuming that web service. After opening in VS 2012, it was upgraded. The proxy now returns List<T> types as arrays, even though CollectionMappings is clearly set to Generic.List. What could be happening? Someone else has a similar problem here but he was downgrading from VS 2012 to VS 2010 instead. Edit: I double checked, and Reference.svcmap contains: <CollectionMappings> <CollectionMapping TypeName="System.Collections.Generic.List`1" Category="List" /> </CollectionMappings> but Reference.cs contains stuff such

TFS 2010 Build Automation and post-build event

扶醉桌前 提交于 2019-11-30 11:59:21
问题 In the project I've inherited, the original developer used a number of post-build events in his Visual Studio projects to copy around DLL's and stuff when building inside VS. This is causing some grief now that I'm trying to move these things to the TFS 2010 Build system. I was hoping to be able to create a new "Continuous" project configuration, and exclude those post-build events from Visual Studio in that configuration - but it seems those calls aren't configurable based on your project

Why does Tfs2010 build my Wix project before anything else?

 ̄綄美尐妖づ 提交于 2019-11-30 11:49:59
A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: MSbuild task fails because "Any CPU" solution is built out of order . My issue is that I have a wix installer project, and after upgrading to Tfs2010 on monday, the build fails on linking because it can't find the build product of the Wpf application in the project. After some digging, it's because it hasn't been built yet. Building in Vs2010 works as normal. The wix project is set to depend on the Wpf project, and when viewing Project Build

How can I programmatically check-out an item for edit in TFS?

我与影子孤独终老i 提交于 2019-11-30 10:55:17
问题 I'm working on a utility processing files being under source control using TFS 2010. If an item is not yet checked-out for edit, I'm getting an exception, what is definitely predictable because file is in read-only mode. What ways exist to check-out a file? P.S. I want something for programmatic rather then Process.Start("tf.exe", "..."); if that's applicable. 回答1: Some of the other approaches mentioned here only work for certain versions of TFS or make use of obsolete methods. If you are

TFS - Time tracking and Bug tracking [closed]

空扰寡人 提交于 2019-11-30 09:13:51
What do you think about TFS as time tracking tool? Are there built-in functionalities that can efficiently track time that is spent at some work items, sprints, projects,... Also, it would be useful to explain how to do it. I found at MSDN forum some suggestions that it is better to use some other tool. What is your opinion about this? I edited this post, because I wanted to add one more topic - Bug tracking. During internet search I found many articles that agree that TFS is good Bug tracking tool, so I wanted to ask for your experiences and for suggestion for good How-to articles or books.

Can assembly version been automatically updated with each TFS 2010 Build?

此生再无相见时 提交于 2019-11-30 09:09:02
I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build? Thanks I have a blog post on how to version your assemblies in TFS Build 2010: How to Create a Custom Workflow Activity for TFS Build 2010 RTM Try TfsVersioning build definition. It can be alse extended with Nugetter to create a NuGet package and upload it to a repository. You can use Version task from msbuildtasks Here's blog post by Jeremy Jameson with step-by-step instructions on how to use it. 来源: https://stackoverflow.com/questions/3252643/can-assembly-version-been

Set up user permissions for Team Foundation Server 2010

淺唱寂寞╮ 提交于 2019-11-30 08:49:09
We have installed TFS 2010 with success but wonder how to set the users permissions. We are small projects with five developers, a manager and a secretary. Each developer is working itself with one or more projects, we have no cooperation between any projects. We want everyone to be able to see all the code for each project, but that only those who are responsible for the code to change it. However, we want everyone to create Work Items for all projects. How should we set this up? bahadir arslan For detailed information about TFS 2010 permissions you can check this http://msdn.microsoft.com/en

Visual Studio 2012 keeps losing connection with TFS 2010

[亡魂溺海] 提交于 2019-11-30 08:32:33
I'm working with Visual Studio 2012 and when I wanted to check in my pending changes (on TFS 2010), all of sudden VS loses its connection with TFS and says (on the Team Explorer window): "HTTP Code 404: not found". The option to check in (or to shelve) is disabled. When I try to refresh the source control explorer window, it briefly shows my folders, but then closes it again (saying it was disconnected with TFS). The funny thing is that I still can get the latest version from TFS and even see my pending changes, but when I try to check these in or shelve my pending changes, it loses the