Browse by Tags
All Tags »
MSBuild (
RSS)
Some times you like to create Pre or Post build events in your project and you don’t like it to be executed when doing a build using the automation build system, so what can you do? There is a property called “SkipPostBuild” in the build’s targets file, setting it to true will only result with skipping the Team Build post events and not the project post event. In order to skip the project pre/post build events do the following: Step 1: Open the proj file of the project in notepad or any text or XML...
Hi there, I ran into a confusing matter today at work. We have a build that ran on TFS Build 2005 that did the following: … Execute a custom task in BuildNumberOverrideTarget that: checked out a file change the file version that it holds tor the project (++) checked in the file Override the BuildNumber parameter Get Source Compile. … After upgrading to TFS Build 2008 we noticed something very confusing, when we checked the dll versions it was always one version older than expected. (If we had a folder...
TFSBuildLab 1.0 is released on CodePlex . This is a project to simplify the day to day operations when using automated builds on TFS. Read more about it here .
Building .NET 3.0/3.5 projects from Team Foundation Build 2005 not supported. Team Foundation Build 2005 will always invoke the 2.0 Framework's MSBuild.exe, which does not support building solutions that target the 3.5 Framework. (The 3.0 Framework shipped with Vista, while the 3.5 Framework is shipping with VS 2008.) The 3.5 Framework includes new MSBuild bits which allow multi-targeting - i.e. MSBuild 3.5 can target the 2.0 Framework. We can convert our solution to VS2008 beta 2 and target the...
I built a big DB Dude project from MSBuild command line and got a timeout error. MSBUILD : Build error TSD158: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The default timeout for query execution is 60 seconds and stored in the registry. We can extend the query timeout by changing these values. The registry entries are: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\DBPro\Database\QueryTimeoutSeconds HKEY_CURRENT_USER\Software...