tfs2010

Check-Out files from TFS 2010 with powershell

别来无恙 提交于 2019-12-09 17:00:55
问题 I only want to check out a path with powershell and also check in this path one minute later at Team Foundation Server. How can i do this? I have installed the tfs power tools at my server. 回答1: You don't need the power tools. Just use the tf.exe command line util that comes with Visual Studio with TFS Team Explorer. tf edit <file> /noprompt to check out and tf checkin <file> /comment:$comment /noprompt to check in. Look at the command line usage on tf.exe for more info tf /? and tf checkin /

Team Build, SGen & Mixed mode assembly

家住魔仙堡 提交于 2019-12-09 15:18:28
问题 Bit of a strange one here guys. We have a fairly complex (111 projects spread across asp.net, silverlight, WFC, Ria Services etc) solution, which builds correctly on my dev box (2010). If I fire up VS on our build machine, I can also build the solution correctly. However, when I queue a build, it almost makes it through, until it attempts to run SGen - at which point I get the old "Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime

How can I prevent TFS associating work items with a build?

Deadly 提交于 2019-12-09 06:38:23
问题 I'm trying to set up automatic notifications for our test team so that they're told when they're ready to test a user story. The notifications are currently firing when the "Fixed In" build for the work item changes. Our nightly build deploys to a staging server. I want this build to update the "Fixed In" build. In addition, we have a gated checkin build. I do not want this to update the "Fixed In" build. I tried changing the "Associate Changesets and Work Items" property in the build

After upgrading solution to .NET framework 4.5 the daily deploy stopped working

老子叫甜甜 提交于 2019-12-09 06:07:20
问题 We have with success been updating our development web site at a daily basis using msdeploy from TFS2010. This was working fine until we upgraded to VS2012, our application from .NET Framework 4.0 to 4.5 and ASP.NET MVC from 3.0 to 4.0. It look like all is well and assemblies deployed but nothing has actually been deployed. I have been looking into this for two days now and can't figure out why this is happening and now I am running out of ideas. Below is part of my build script in the way it

TFS 2008/2010 vs Jenkins for Continuous Integration

我只是一个虾纸丫 提交于 2019-12-09 04:20:28
问题 Does anyone have specific experiences with using TFS 2008/2010 AND Jenkins for Continuous Integration (CI)? We are trying to decide which CI server to use. Our team works exclusively in Microsoft .NET/Visual Studio 2010/C#. We have the following requirements: Automatically build our web project on every checkin. Run unit tests with each build. Automatically deploy green builds to development and/or test environments. Provide pretty reports. Provide build/deployment notifications via email. I

Does TFS Record the Parameters to a Build?

旧巷老猫 提交于 2019-12-08 20:59:25
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? kroonwijk 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 . 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 the ALM Ranger Build Guidance they suggest taking this approach, and I believe the BRDLite customized

TFS 2010: Why is it not possible to deserialize a Dictionary<string, object> with XamlWriter.Save when I can use XamlReader for deserializing

拟墨画扇 提交于 2019-12-08 17:27:55
问题 public static string GetXml(Dictionary<string, object> parameters) { return XamlWriter.Save(parameters); } The above statement returns a NotSupportedException . The strange thing is that I can use the XamlReader to serialize a dictionary. public static Dictionary<string, object> GetParameters(IBuildDetail buildDetail, string buildDefinition) { var tfsProject = buildDetail.BuildDefinition.TeamProject; var buildServer = buildDetail.BuildServer; var buildDef = buildServer.GetBuildDefinition

Does TFS 2010 have web services one can use to query check-ins, work items, etc?

≡放荡痞女 提交于 2019-12-08 16:00:51
问题 I have figured out that TFS 2010 has the following web service endpoint http://tfsservername:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx Are there ones to get a feed of check-ins, work items and other TFS items? 回答1: Update : yes! Visual Studio Online introduced a new REST API, and on-premises installations of TFS 2013 have access to this new API. In versions of TFS prior to TFS 2013: tl;dr: Not in any way you're going to want to consume. Team Foundation Server

Force a merge in TFS after conflicts have been resolved

瘦欲@ 提交于 2019-12-08 15:48:58
问题 TFS 2010, VS 2010 We have a situation in TFS where a developer has not been following proper merge procedure. When I run a compare of his developer directory against trunk, I get a number of files marked as either different or not in trunk at all. The last merge/check-in to trunk was by him on 2011-05-26, and his last check-in to his dev branch was 2011-05-25. I believe two things are going on: He isn't updating his dev branch from trunk properly (we require developers to merge trunk -> dev

Is there a way to do a partial checkin in TFS?

亡梦爱人 提交于 2019-12-08 14:32:07
问题 I have a file that has two independent modifications. I would only like to commit one of them. Is there any way to only check in part of a file (without me modifying or shelving/unshelving it)? Essentially, create a temp file on commit that then gets checked in instead of the file on disk? 回答1: No, the only way is to shelve what changes you have, revert back or the previous version and apply the changes that you want to commit. After committing them, revert back to the shelved version. 来源: