tfs

Domain credentials suddenly invalid

柔情痞子 提交于 2020-02-08 05:11:36
问题 I previously had TFS 2017 and SQL 2016 working well on a single 250GB Server 2016 .VHDX with two partitions, C: and D: . SQL is installed on C: , with its data directories on D: . Oddly, C: started filling up unexpectedly, so I decided to move the D: partition to its own .VHDX and expand C: . This all went well, and I now have two 100GB .VHDXs with C: and D: , respectively. (This is a one-man shop, so data storage needs are quite small at present. These needs will increase soon, however, so

In Visual Studio remove local files when undo pending changes

喜你入骨 提交于 2020-02-06 03:52:32
问题 In Visual Studio if I add a few files to a project but then decide to undo my pending changes the files are removed from the project but remain on my hard drive. This isn't terrible but is annoying. In Visual Studio is there a way to specify that when a change is undone local files should also be removed? 回答1: I do not know of any way to do this within Visual Studio, however, the Team Foundation Server Power Tools command line utility (TFPT.exe) has a " /scorch " command that you can run that

TFS Custom Build Tasks - Multiple versions

落爺英雄遲暮 提交于 2020-02-04 22:56:59
问题 I need to make changes to a custom TFS build task. I'd like to bundle the new version of the task in my extension (leaving the current version in as well) and be able to select the version when editing a build/release definition. I've looked over Microsoft's documentation for bundling multiple versions of a build task within one extension, but I'm not seeing the details of what needs to be included in the extension manifest. I've also looked at the VSTS Tasks on github and I'm not seeing how

How to use [Microsoft.TeamFoundation.Client.TeamFoundationServerFactory]::GetServer with credential from Powershell

。_饼干妹妹 提交于 2020-02-04 16:23:57
问题 Which kind of credentials must I provide, to get this working $tfsServer = [Microsoft.TeamFoundation.Client.TeamFoundationServerFactory]::GetServer($basePath,$credential) I tried: $credential = New-Object System.Management.Automation.PsCredential($user,$password) and $credential = New-Object System.Net.NetworkCredential($user, $password, $domane) and always got Für "GetServer" und die folgende Argumenteanzahl kann keine Überladung gefunden werden: "2". Bei Zeile:18 Zeichen:86 + $tfsServer =

How to create a TFS alert for changes to the items' Stack Rank field

别来无恙 提交于 2020-02-04 01:17:27
问题 How can I create an alert when any team member makes changes to the Stack Rank field (only) of any work item in TFS? 回答1: You can add a alter filter in a work item team alter just including Stack Rank changes Sample: Update You can also try to use TFS API to achieve this. Below code shows how to query workitems whether a field (ex. System.AssignedTo field) is changed on a given day. For stank rank, FieldName= "Microsoft.VSTS.Common.StackRank" void Main() { const String CollectionAddress =

How to create a TFS alert for changes to the items' Stack Rank field

喜欢而已 提交于 2020-02-04 01:17:11
问题 How can I create an alert when any team member makes changes to the Stack Rank field (only) of any work item in TFS? 回答1: You can add a alter filter in a work item team alter just including Stack Rank changes Sample: Update You can also try to use TFS API to achieve this. Below code shows how to query workitems whether a field (ex. System.AssignedTo field) is changed on a given day. For stank rank, FieldName= "Microsoft.VSTS.Common.StackRank" void Main() { const String CollectionAddress =

Cannot Authenticate to one VisualStudio.com TFS in Visual Studio 2015

∥☆過路亽.° 提交于 2020-02-03 01:57:26
问题 I am running Visual Studio 2015. It is registered on my machine under my personal Microsoft account. Running on Windows 10 Professional. I can connect to my personal tfs at visualstudio.com with no issue. I can connect to a corporate tfs at visualstudio.com with no issue, under a second Microsoft (Office365) account. I have a third corporate tfs at visualstudio.com that it refuses to connect to, which uses a third Microsoft (Office365) account. My corresponding MS account is actually the

【转】TFS签入签出规范

独自空忆成欢 提交于 2020-02-01 06:22:50
一、 开发平台的约定 a)开发操作系统环境和最终用户使用环境(包含Service Pack版本号) 开发环境:Windows2003SP2 Windows7 用户环境:Windows2003SP2 SP1 WinXP b)开发工具版本 Vs2008SP1 + TFS团队资源管理器 c)数据库类型已经版本 SQLServer2008 d)版本控制工具 TFS e)开发规范的执行问题 《C#代码规范》 二、 工作方式的约定 a)开始工作前的行为(每天开始工作先签出代码) 时间:8:30-9:30 注意、 1、根据需要,签出你所需要修改的代码(注:在签出代码时,你的签出文件会和服务器同步)不要签出所有代码 2、修改代码时,不要改动你签出文件中他人的方法,如必需改动的,请与该方法作者协商 3、方法体不要太长,尽量不要超过20行,多进行重构 4、当一个方法完成时,请马上构建单元测试,并测试通过 5、单元测试需可重复测试,不要出现只能测试一次,下次测试必须修改数据库才能再测试的问题 b)每日签入的行为(每天需签入当日全部开发代码) 时间:11:00-12:00 17:00-18:00 签入步骤: 1、签入代码前先选择“获取服务器上最新版本(递归)”(不会对你的已签出文件覆盖) 2、编译解决方案下所有工程 3、解决编译冲突 4、运行单元测试 5、提交签入你的签出文件 c)版本控制行为

Migrate Workitems from local TFS into VSTS

六月ゝ 毕业季﹏ 提交于 2020-01-30 06:01:04
问题 I'm migrating our local TFS to VSTS (Cloud TFS). Everything worked fine so far, but now I want to migrate all the existing workitems to the VSTS. I have searched the internet for a solution and found some articles. They suggested to use some CMD-Line Tools to migrate workitems from TFS, but unfortunately, all of them threw some error messages. Does anyone have a quick and safe way to migrate the workitems. 回答1: TFS has three options for scoping and scaling data - deployments, team project

Extend TFS Source-Control-Explorer

随声附和 提交于 2020-01-30 03:56:07
问题 I already created a Visual Studio 2012 extension to place a ComboBox at Source Control Explorer. I am using this guid at my vsct file: <!-- MyComboBox in Source Control Explorer --> <Combo guid="myMainguid" id="cmdSSEComboBox" priority="0x0700" type="DropDownCombo" defaultWidth="130" idCommandList="cmdSSEGetItemsComboBox"> <Parent guid="guidSourceControlExplorer" id="SSEToolBar" /> <CommandFlag>IconAndText</CommandFlag> <CommandFlag>CommandWellOnly</CommandFlag> <Strings> <ButtonText