Maor's Blog
Talking about technology
Browse by Tags
All Tags
»
Team Build
(
RSS
)
C#
Code Analysis
Data Dude
MSBuild
Opinion
Team Build 2008
Team System
Team System 2008
Utilities
Visual Studio 2008
Team Build and ClickOnce
The other day I got a question: How can I deploy an app via ClickOnce using Team Build? There is not out of box way to do that, but we can do it with a simple workaround: we should overload the target AfterCompile in TFSBuild.Proj to call MSBuild Task Publish and can pass the PublishDir property: < Target Name ="AfterCompile" > < MSBuild Condition =" '@(SolutionToBuild)'!='' " Projects ="@(SolutionToBuild)" Properties ="Configuration=%(ConfigurationToBuild...
Configure Team Foundation Build for an Incremental Build
A question I got today: "How can I configure my Team Build for an incremental build?". Well, it's simple. Team Build 2005 Add the PropertyGroup definition to the end of the TFSBuild.proj file, before the closing </project> tag. Set the following properties: < PropertyGroup > < SkipClean > true </ SkipClean > < SkipInitializeWorkspace > true </ SkipInitializeWorkspace > < ForceGet > false </ ForceGet > </ PropertyGroup > Team Build...
Team Build - Dynamicly adding project outputs to GAC
It's occurs sometimes that after a successful build, we need to iterate through all assemblies outputs and install each assembly to the gac.. Solution: First, we have to use a CreateItem task like: < CreateItem Include =""C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\GacUtil.exe" -i $(DropLocation)$(Slash)$(BuildNumber)$(Slash)Release/*.dll" > < Output TaskParameter ="Include" ItemName ="AssembliesToGac" /> </ CreateItem...
How To Deploy Data Dude Project Changes using Team Foundation Build
When you want to build and deploy database projects with team build you need to edit the database project file and the Team Build file. That's because database projects store any non-default values for the TargetDatabase, TargetConnectionString, and DefaultDataPath properties in a <ProjectName>.dbproj.user file. *.user files are not checked into version control in order to let every user use different values. Step 1 - Modify build project file (team build .proj file) Open the...
NDepend - Great Static Analyzer
Few week ago, I've been asked by Patrick Smacchia , a C# MVP to try this tool. I really want to thanks Patrick to give me the chance to evaluate a professional edition. I installed it and start working with. After using this tool, it's my most favorite tool to reviewing my code! NDepend is an excellent tool that is designed to provide a very deep analysis of your compiled code to help you understand and control your development effort by managing both the quality and the complexity of your...
Running Tests On TFS Build Machine
Often I asked "What do I need to install on the TFS build machine in order to run tests?" Well, the answer is simple. In VSTS 2005 you have to install the Tester or Suite editions on the Build Machine to run tests (even Unit Tests). In VSTS 2008 installing the Developer Edition version is enough.
Custom Build Number In Team Build
Many users want to modify the default build number of Team System Team Build which looks like: <Build-Type-Name>_<Date>.XXX. You can change it by writing a custom task and call it in the BuildNumberOverrideTarget target of the MSBuild file. In this example the task will generate a unique build number based on current time: using System; using Microsoft.Build.Utilities; using Microsoft.Build.Framework; namespace MaorDavidBlog.Samples.MSBuild { public class BuildNameGenerator:Task { private...
Building VS 2008 projects with TFS 2005
When you try to build VS 2008 solutions with Team Foundation Build 2005 you get: MSB5014 - File format version is not recognized. I posted about it and one of the comments (by Eran Kampf ) linked to Mitch Denny's approach . Customers ask me about it a lot and this is the best approach to deal with the problem Buck Hodges said that the best "workaround" is to upgrade to TFS 2008. But not all of you will upgrade soon to 2008. Until then, use Mitch's approach. Technorati Tags: Team...
Team Foundation Build 2008 New Features Video
There's a great new video on MSDN by Richard Hundhausen introducing the new features in Team Foundation Build 2008: How Do I: Learn the New Features and Capabilities of Team Foundation Build 2008? The video covers the major new features and provides a great introduction to the product. Technorati Tags: TeamBuild , TFS 2008 , Team Build 2008
TFS Build Lab 1.0 Released
TFSBuildLab 1.0 is released on CodePlex . This is a project to simplify the day to day operations when using automated builds on TFS. This project handles common Team System issues such as: Continuous integration builds Scheduled builds Build queuing Event notifications Manual and automated build cleanup What features included in V1.0: Service Automatic rescheduling when adding new scheduled trigger. A report for displaying statistics from the triggers and retention policies. Support for overriding...
Build a labeled version with TeamBuild
This is the 3rd post in the series of posts about MSBuild. You can read them at: Introduction to MSBuild . Create custom task to MSBuild - step by step . As you know, TeamBuild builds the latest version by default. At the Target "CoreGet" in the MSBuild script (you can find it at Microsoft.TeamFoundation.Build.targets file), it gets the latest version from source control to the local workspace on the build machine and build the source. To build a labeled source you have to set a value to...
Search
Go
This Blog
Home
Contact
About
News
RSS
Connect with Me
Tags
.NET
.NET 3.0
.NET 3.5
.NET 4
Acropolis
AJAX
ALM UG
AppFabric
Are you ready 2008
Asp.Net
Asp.Net 2.0
ASP.NET 3.5
ASP.NET MVC
Astoria
Big Data
Blog
Book
C#
ClickOnce
Client
Cloud Computing
Code Analysis
Coding Standards
Community
CTO
Data Dude
DEV
DevAcademy2
Developer Academy 4
Development Process
Enterprise Library
Events
Google
Internet
ITPRO
Kincect
Lab Management
Lambda Expressions
Lectures
LINQ
Live
load test
Management
Misc
MS IL Misc
MSBuild
MVP
Networking
News
Office 2010
OFFTopic
Online Services
Open Source
Opinion
Patterns & Practices
PDC10
Performance
Platorm
Private
Robotics
Rosario
Security
SharePoint 2010
Silverlight
Silverlight 4
Silverlight 5
Software Development
SQL Azure
System
Team Build
Team Build 2008
Team System
Team System 2008
Team System 2010
Team System Tools
TECH
TechEd
TechEdIsrael2008
TFS
TFS 2008 SP1
Tools
Utilities
visual studio
Visual Studio 2008
Visual Studio 2010
Visual Studio 2010 SP1
Visual Studio LightSwitch
Volta
VS 2008 SP1
VSTS
VSTSDB
WCF
Web
Windows 8
Windows Azure
Windows Azure Tools
Windows Identity
Windows Phone
Windows Phone Mango
WPF
Navigation
Home
All Posts
RSS
Popular Tags
Archives
December 2011 (6)
November 2011 (2)
September 2011 (1)
August 2011 (8)
July 2011 (11)
June 2011 (5)
March 2011 (2)
January 2011 (5)
December 2010 (3)
November 2010 (1)
October 2010 (4)
September 2010 (1)
August 2010 (2)
June 2010 (6)
May 2010 (8)
April 2010 (1)
March 2010 (1)
February 2010 (6)
December 2009 (1)
November 2009 (2)
October 2009 (2)
September 2009 (2)
August 2009 (1)
June 2009 (2)
May 2009 (3)
April 2009 (3)
March 2009 (6)
February 2009 (4)
January 2009 (3)
December 2008 (7)
October 2008 (4)
September 2008 (14)
August 2008 (3)
July 2008 (3)
June 2008 (11)
May 2008 (7)
April 2008 (15)
March 2008 (19)
February 2008 (11)
January 2008 (6)
December 2007 (24)
November 2007 (17)
October 2007 (30)
September 2007 (22)
August 2007 (2)
July 2007 (10)
June 2007 (15)
May 2007 (18)
Blog Roll
bharry's WebLog
ScottGu's Blog
maor.blogging()
RSS
Blog Pages
Rosario's CTP 12
WCF
Syndication
RSS
Atom
Comments RSS