team-build

how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment

最后都变了- 提交于 2019-12-18 18:56:52
问题 This Question is related to my Question Combining “Gated Checkin” and “Continuious Integration” Builds in Team Foundation Server I Posted this Morning Thanks to @pantelif I know that after a Gated Checkin Build build Continuous Integration Builds are prevented to be triggered as an (in mostly cases) expected behavior. The Team Foundation Server adds to the Check-In Comment the Keyword ***NO_CI*** to do that. In the Question you find here there is discribed that someone accidentally turned off

TFS 2010 creating .Net 4.0 XmlSerializers DLL for .Net 3.5 Application

强颜欢笑 提交于 2019-12-18 06:13:55
问题 We have a ASP.Net web application running in Visual Studio 2010 that is targeting .Net 3.5. It's being built by TFS 2010. This web application has a couple web references, so the build creates a related XmlSerializers DLL. This DLL, however, is a .Net 4.0 assembly. When I run this web application from the build, I get the error: Could not load file or assembly 'BLAH_BLAH_WEB_APPLICATION_NAME.XmlSerializers' or one of its dependencies. This assembly is built by a runtime newer than the

Modular TeamBuilds

本秂侑毒 提交于 2019-12-17 19:55:31
问题 I have 3 TFS Builds (2 Dev and 1 Cert). I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items. The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get other files, but by then it is too late. Here is the scenario that I have. I make a "Common" location for common tasks. I then went and made changes to that file.

TFS Build notification options not populating build definitions

五迷三道 提交于 2019-12-13 16:22:58
问题 downMy gated checkin reconcile message has stopped working. To troubleshoot I opened up Build Notifications options and see that the "Build notifications to monitor" list is blank.I restarted Visual studio, connected to the project server again in the IDE, rebooted the machine but still Build notification options are blank. I have also deleted the Team Foundation local cache from %localappdata%/Microsoft/Team Foundation/5.0/Cache but to no result. From what i understand the Build notification

msbuild not working properly with tfs 2010 and importet Microsoft.TeamFoundation.Build.targets

烈酒焚心 提交于 2019-12-13 01:18:16
问题 i'm stuck with extending my msbuild project file and tfs 2010. What i want to achieve is to automatically generate the documentation for my source code after the build. I searched the web and found out, that the file Microsoft.TeamFoundation.Build.targets defines a lot of customizable targets for either desktop- or team-build. One of them is the GenerateDocumentation -Target which i want to use. The Problem i have is, that despite i imported this file, the overloaded targets are not invoked

teambuilding and deploying a dll (e.g. wpftoolkit.extended.dll)

断了今生、忘了曾经 提交于 2019-12-12 02:26:00
问题 The app I work on needs to use the wpftoolkit.extended.dll (i.e. no source, no msi/installer, we've only got the dll). So far we've placed the dll in a c:\libs folder on both the dev's laptop and the teambuild server and it built ok on both; now for deploying we want to add it to an installer (.vdproj) and we think we'll need it in tfs's repository somewhere. However, when tested the app now only builds on the dev's laptop and not on the teambuild server (looks like a relative path thing). So

BizTalk 2009 projects not playing well with TFS 2010 beta 2 automated build?

孤街醉人 提交于 2019-12-12 01:35:39
问题 I was wondering if anybody is using TFS 2010 beta 2 build server to build BizTalk 2009 projects created in VS 2008? I created new BizTalk project in VS 2008 adding simple schema with promoted property. Then I created new build definition from VS 2008 Team Explorer and queued up new build on our TFS 2010 build server... I'm getting compilation errors due to the conflicts in .NET Framework versions. Here is a snippet from compilation log: CoreCompile: C:\Windows\Microsoft.NET\Framework\v3.5\Csc

Visual studio test runner - criteria is filtering all tests

对着背影说爱祢 提交于 2019-12-11 20:24:30
问题 Using VS 2013 and TFS 2013, I have 4 unit tests but I want a TFS build to run only one of them. For this I have assigned [TestCategory("bvt")] as an attribute of the method. I edit the build definition, and within the "Add/Edit Test Run" dialog I give a value for "Test case filter:" of "TestCategory=bvt" With the filter added, no tests are executed. If I remove the filter then a team build using "ReleaseTfvcTemplate.12.xaml" result in all 4 tests being executed. I've tried wrapping the filter

Passing a parameter to MSTests using MSBuild

霸气de小男生 提交于 2019-12-11 15:52:29
问题 I've got an issue that was wondering if could be solved in a particular way. I would like to be able to pass a parameter or set some kind of variable in an MSBuild script that will be run on a TeamBuild server. This parameter would be used as a condition in the setup of a TestFixture in MSTest to decided which concrete implementation of a class to be used. It would be a mock version when running on the build server, and a reference to a physical asset when running on a developer machine. Is

How do I modify 'subject' line of a TFS2010 build completion email alert?

一笑奈何 提交于 2019-12-11 15:49:53
问题 I'm trying to modify the alert email that is sent when a TFS team build completes. I can modify the body of the mail via an edit to: BuildCompletionEvent.xsl . However this 2006 post suggests the subject can't be changed, is this still the case? Thanks 回答1: AFAIK, you can't currently (tfs2010) change the subject of one of these alert emails 回答2: I think you can change the XSL email templates that are deployed with TFS 2008/2010/2012. The folder structure is something like: "C:\Program Files