DCSIMG
Team Build,TFS Administration - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » Team Build » TFS Administration (RSS)
Building solutions that reference to assemblies belonging to different team project
Building solutions that reference to assemblies belonging to different team project If you facing the following Scenario Assume that we two projects (ConsoleApplication1 and ConsoleApplication2) under team project (TP1) and they are using the assembly (commonlibrary.dll) that is checked in under a different team project (TP2). Let us assume the corresponding paths under version control are Manish Agarwal published a great post about Building solutions that reference to assemblies belonging to different...
Team Build - Other Useful Properties
Team Build - Other Useful Properties These are properties that are used by the build process and should not be modified. They can, however, be used to execute logic conditionally, to parameterize custom logic in the build process, etc. BinariesRoot . The root directory for binaries - typically the working directory for the build agent + the BinariesSubdirectory property (see above). BuildAgentName . The name of the build agent running the build. BuildAgentUri . The URI of the build agent running...
Team Build - Task Behavior Extensibility Properties
Team Build - Task Behavior Extensibility Properties These are properties that are designed to be overridden by users to control the behavior of particular tasks (e.g. the Get task). They are organized by task. Get (for more info, see the tf get docs here ) ForceGet . Passed to the Force property of the Get task. Use of this property is discouraged - use the IncrementalGet and/or IncrementalBuild helper properties instead. GetOverwrite . Passed to the Overwrite property of the Get task. If true (the...
Team Build - Target Dependency Properties
Team Build - Target Dependency Properties These are the properties used to set up the target dependency hierarchy in Team Build. The can be modified to insert custom targets into the build process as an alternative to overriding the provided extensibility targets, but this should be done with care. The standard pattern for overriding a dependency property is something like the following: <PropertyGroup> <DesktopBuildDependsOn> PreDesktopBuildTarget; $(DesktopBuildDependsOn); PostDesktopBuildTarget;...
Team Build - Extensibility Properties
Team Build Extensibility Properties There are lots and lots of MSBuild properties available to Team Build 2008 build definitions, most of which are probably unknown to the majority of users. As such, I've tried to compile a comprehensive list of these properties so that they can (hopefully) be more widely used. I'll do the same thing at some point here for Team Build 2005. If I've missed anything here or made any mistakes please let me know and I'll try and get them added/fixed. Extensibility...
Automate TFS Build Delete
Automate TFS Build Delete The Team Foundation Build Server at one of our clients was getting out of hand. We set up continuous integration so we are getting a lot of builds per day. The server had hundreds of builds that we just didn't need hanging around anymore. So we wrote an tool to automate the cleanup of TFS Builds. After I finished developing the tool I noticed that it's much more comfortable to manage our Builds through this tool. Simple statistics about all Builds and there status...
Create Work Item After Build Success / Failure
Create Work Item After Build Success / Failure In the last post I talked about Customize Build Number using TFSBuild.proj, now I'll show how to use TFSBuild.proj file for creating Work Item after build. First thing is to add "CreateNewWorkItem" UsingTask TFSBuild.proj: </Import> <UsingTask TaskName="Microsoft.TeamFounadtion.Build.Tasks.CreateNewWorkItem" AssemblyFile="$(TeamBuildRefPath)\Microsoft.TeamFoundation.Build.Tasks.VersionControl.dll" /> WorkItemFieldValues...
10 Steps To Customize Build Numbers
10 Steps To Customize Build Numbers The steps that you must follow to customize a Team Foundation Build build definition with a task that generates build numbers. Access to the TFSBuild.proj file of the build definition you want to customize. By default, the TFSBuild.proj file is located in the folder $/ MyTeamProject /TeamBuildTypes/ MyBuildName in Team Foundation source control. A local workspace that contains your team project files and the build files on your local computer. Required Permissions...
Team Build TF42046: The Build Service used in the build process is not reachable
Team Build TF42046: The Build Service used in the build process is not reachable One of our customers report that Team Build suddenly stop working and shows TF42046 error... In this case the service status was "stop", the account that runs the service was expired. If you encounter the TF42046 error, you may want to make sure of a few things: That Team Build is installed on the build machine. This can be found on the Team Foundation Server installation CD in the Build directory. Run setup...
More Posts « Previous page