tfs2013

How to prevent TFS 2013 from locking binary files?

浪子不回头ぞ 提交于 2019-12-07 08:15:30
问题 We work with TFS 2013 with Visual Studio 2013, and using Gated Check-In. With Gated Check-In it's impossible to preserve pending changes locally, if one of the files is locked. We don't use locks at all, but: If you check out a file that is of a type that is treated as binary, Visual Studio Team Foundation Server might automatically lock it because binary files cannot be merged. (MSDN) We want to configure TFS to not lock binary files. How can we do this? 回答1: In Visual Studio, use the "Team"

Upgrading to TFS 2013. Parameters tab is blank when queuing up a build

丶灬走出姿态 提交于 2019-12-07 03:09:41
问题 I'm trying to migrate from TFS 2012 Update 2 to TFS 2013. Following the documentation I installed TFS 2012.2 on the new hardware, backed up/restored the databases, then installed TFS 2013 as an upgrade. I can see the Team Project and the builds. The problem is when I right click a build to queue up a new one and click on the Parameters tab I just get a blank panel. My best guess is there was an error loading the parameters. Note those builds worked fine in TFS 2012.2. If I create a new build

Why does my TFS build waste time eventhough there is no Drops folder?

こ雲淡風輕ζ 提交于 2019-12-07 02:49:11
问题 We have a small setup of TFS server 2013 and running builds for a single project. For that project we only have a single build definition which has the Drops feature turned off. That is to say, This build does not copy output files to a drop folder . Yet we get this message every time we save the build definition: This build wastes time and computer resources because your working folders include the team projects (... Project), which include a Drops folder. You should cloak the Drops folders.

tfignore not working in VS 2013

心已入冬 提交于 2019-12-06 19:35:10
问题 I'm using Visual studio 2013 with TFS 2013. I've been trying to get all files in a folder to not checkin using .tfignore and with hours of searching and trying different solutions with no luck. I followed the instructions http://msdn.microsoft.com/en-us/library/vstudio/ms245454.aspx and could not get it to work. Any help is appreciated. My project structure looks something along the lines of: project Controls TestIgnore Class1.cs Class2.cs .tfignore and my .tfignore has 1 line of code:

TFS 2013 API - Retrieve all changes made for WI

一世执手 提交于 2019-12-06 15:09:10
Does anybody knows how to get all changes related to work item, like how many hours were logged per day? This info is obtainable in web version of TFS in 'All Changes' tab but I couldn't find it by looking through all methods and properties of WorkItem object in debug. I've also tried to retrieve work items by WorkItem property on RevisionCollection's indexer which returns Revision object, but all these work items seems to be referencing to the final state of WI where all hours have been logged and the task is closed. If you mean you want to show all the history (what fields changed, when and

Expression of type 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings'

让人想犯罪 __ 提交于 2019-12-06 09:13:24
I'm creating Custom Activities in TFS2013 and i'm hitting below issue once build application: An error occurred while initializing a build for build definition \TestApp\TestApp.Main.CI: Exception Message: Expression of type 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings' cannot be used for return type 'Microsoft.TeamFoundation.Build.Workflow.Activities.BuildSettings' (type ArgumentException) Exception Stack Trace: at System.Linq.Expressions.Expression.ValidateLambdaArgs(Type delegateType, Expression& body, ReadOnlyCollection`1 parameters) at System.Linq.Expressions

Connecting Team Foundation Server (TFS) with Xcode

大城市里の小女人 提交于 2019-12-06 07:21:50
问题 I am new to Xcode and TFS. Can someone please explain me how I can connect TFS 2013 with Xcode to maintain repositories or give me a link which has full details from the beginning? 回答1: The idea is to use Git as your version control and push your changes to a central Repo hosted in TFS. The TFS Administrator should create a Project with Git support and grant your account permissions. Most of TFS features are accessible through a web interface, so you can have task/bug tracking, associate them

Detecting TFS version/install folder from MSBuild

拟墨画扇 提交于 2019-12-06 07:07:21
I wish to call the GetBuildProperties task from my MSBuild script run on TFS. However, this script can be run on either TFS 2010 or TFS 2013. Is there a way to detect the version of TFS that has launched an MSBuild Script? At the moment, I am getting around the problem like so: <PropertyGroup> <CurrentProgramFiles>$(ProgramW6432)</CurrentProgramFiles> <CurrentProgramFiles Condition="$(CurrentProgramFiles) == ''">$(ProgramFiles)</CurrentProgramFiles> </PropertyGroup> <PropertyGroup Condition="$(TeamFoundationServerUrl)!='' and Exists('$(CurrentProgramFiles)\Microsoft Team Foundation Server 2010

Unable to create TFS build definition (TF225000) and no Build Administrators group

蹲街弑〆低调 提交于 2019-12-06 06:03:23
问题 I am not able to create a build definition on my TFS 2013 team project as I get the error: I am in the Project Administrator group. I was added to the Project Collection Build Administrators group as a possible workaround but I still get the same error. The team project has no “Build Administrators” group which is an obvious deficiency per Project-level groups in Permission Reference for Team Foundation Server from MSDN. My environment is an on-prem TFS 2013 server that was recently upgraded

How can resolve Untrusted certificates Error ?( TFS2013 Build and deploy to IIS )

一个人想着一个人 提交于 2019-12-06 06:00:43
I crate a build definition on tfs2013.when I queue my builddefinition I get an error about Untrusted certificates. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets (4270): Web deployment task failed. (Connected to the remote computer ("developertest") using the specified process ("Web Management Service"), but could not verify the server’s certificate. If you trust the server, connect again and allow untrusted certificates. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CERTIFICATE_VALIDATION_FAILED . I check help link and it