tfs

Check out files modified outside VS from TFS

青春壹個敷衍的年華 提交于 2020-01-13 07:37:13
问题 If a file is modified in Visual Studio, the files are automatically checked out from Team Foundation Server. However, sometimes there are files not modified in VS, is there command to check out those modified files only? 回答1: If you download the Team Foundation Server power tools, you can use the "tfpt online" command line. That said, I would try and avoid this way of working. TFS much prefers to know about files that you are checking out before you start editing them and your interaction

TFS email notification

北战南征 提交于 2020-01-13 07:31:13
问题 When I add a bug (Work Item) in TFS, and assign it to a user, I want an email sent to that user. Also if an existing bug has the "Assigned To" changed, I want that user to get an email. Is it possible to send Alerts to users when they're assigned changed bugs in TFS 2008? 回答1: In VS 2005 at least, on the Team menu you will find a Project Alerts... item which allows users to specify an email address that will be notified when My work items are changed by others , which covers both the

Get list files from a changeset using Microsoft.TeamFoundation.Client and Powershell

拜拜、爱过 提交于 2020-01-13 07:25:08
问题 I use TFS 2008 in a company. How can I get list of files from a TFS changeset using Microsoft.TeamFoundation.Client and Powershell ? My script: Add-Type -Path "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.VersionControl.Client.dll" Add-Type -Path "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.WorkItemTracking.Client.dll" Add-Type -Path "C:\Program Files (x86

Given a TFS changeset, how can I find what work item(s) it is linked to?

自古美人都是妖i 提交于 2020-01-13 06:11:21
问题 It's easy to see what changesets are linked to a given work item. But is it possible, given a changeset, to find out what work item(s) it is linked to? 回答1: If you have the changeset number then in TFS explorer in VS press CRTL + G and provide the changeset number and click OK. That will bring the change set in team explorer. Then you can click on a folder/file and select view history which will show you the work items related to it. See view changesets for more information. Also, check out

Powershell Get-WmiObject Access is denied

给你一囗甜甜゛ 提交于 2020-01-13 06:00:14
问题 I have a Powershell script containing the following line: $package = Get-WmiObject -Class Win32_Product -ComputerName $TargetServer -Filter ("Name='{0}'" -f $ApplicationName) I followed the steps on this answer in order to enable Powershell Remoting between the servers: remoting security steps When I run the script from the Powershell ISE (in an elevated admin window) then I get the following error: Get-WmiObject : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) At

Anyway in TFS to check-in modified files which are not checked-out

南笙酒味 提交于 2020-01-13 05:57:28
问题 Anyway in TFS to check-in modified files which are not checked-out. I made modifications in some fo the files which are I didnt check-out. In Sub version we can check-in only modified files is there any similar way here as well.. I am new to TFS 回答1: Ultimately, you do need to check out files before they can be checked in. There's a couple of ways to do this - if you know exactly which files you've modified, you can simply check them out with the UI or with the command line client. Of course,

Sharing code between solutions in TFS [closed]

烈酒焚心 提交于 2020-01-13 05:53:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 10 months ago . I have a few different applications that i need to share code between to reduce maintenance. I have tried to read a lot on stackoverflow and the web in general and it is a fairly common problem; i have not found an answer i like. Our TFS branching structure is like this. We have three branches Development,

Where are logs for witadmin actions in TFS 2010?

亡梦爱人 提交于 2020-01-13 05:18:48
问题 When running the witadmin command from the Visual Studio 2010 Command Line, where is this action logged in TFS 2010? An example command would be: C:>witadmin exportwitd -collection:http://server:8080/tfs/projectcollection -p:TeamProject -n:Bug -f:c:\Bug.xml 回答1: One way to do this would be to query the command log in the collection database. Note: it's generally recommended not to query the database directly, since the schema is not documented/supported and could change in a future release.

TFS Structure - Multiple Projects or Single Project?

一个人想着一个人 提交于 2020-01-12 07:33:08
问题 Our small development shop is looking to migrate our projects from VSS to TFS, and we're evaluating TFS vs. others (haven't pulled the trigger quite yet). The nature of our software shop is such that we have 100+ projects in VSS ranging from small one-man-show projects to massive enterprise-wide applications. We are trying to determine how to structure our projects in the transition and have, for the most part, decided on putting everything into one project site/system with each project

Use Team Foundation Server in Delphi 7?

拈花ヽ惹草 提交于 2020-01-12 06:20:30
问题 I'm a .NET developer and use VS2008/TFS2008. Recently, another developer has left our company and now I have to maintain his code. He was a Delphi developer (Delphi 7 mostly, but also Delphi 2007) and he didn't use any source control. Is there a way to put his code in Team Foundation Server? Integration in the Delphi IDE is a big plus. 回答1: To get IDE integration with TFS in Delphi 7, you need can use the MSSCCI provider for TFS in conjuction with SourceConnexion which gives MSSCCI support to