What is the proper way to include an output of one build as a binary in another build?
Lets say I have a solution called CompanyName.Domain (my Domain Layer). I have it set up as a build and it builds nightly.
Now I want to add a solution called SomeProject.Web. And I want to include the binary out of CompanyName.Domin into a Binaries ...
Is it possible for a TFSBuild to replace part of your web.config settings with another section?
Is this generally handled by a copy (overwrite) task on AfterBuild or AfterDropBuild where the parts of the web.config have been extracted out into their own seperate files?
UPDATE Mid '10...
If you're using Visual Studio 2010, it now comes...
Hi folks,
I have Debug|Any CPU and Release|Any CPU as my two configuration types. Is there any way I can tell the TFSBuild which one to 'build'?
...
Anybody using Team Foundation Server for managing their databases? We are currently using subversion. Team is complaining that it is hard to create a build process in TFS and is shying away from it.
Any good pointers, articles, experiences?
...
We have a particular file, say X.zip that is only modified by 1 or 2 people. Hence we don't want the build to trigger on every check-in, as the other files are mostly untouched.
I need to check for a condition prior to building, whether the checked-in item is "X.zip" or not.. if yes, then trigger a build, else don't. We use only CI bui...
I have a TFS 2008 Build server set up and when I queue two or more builds at the same time (corresponding to different tfs projects), one of the builds (randomly) always ends with a partial success. The reason for the partial success is because non of the unit tests gets executed. Otherwise all projects are compiled without errors and as...
I made a custom task in my TFS build to examine my project's GlobalAssemblyInfo.cs file in order to extract an attribute (AssemblyInformationalVersion to be exact) in order to use its value in naming a zip file that I make with the build.
<UsingTask TaskName="GetAssemblyInformationalVersion.GetAssemblyInformationalVersionTask"
...
I have found that creating a zip file using the Zip task provided by MSBuild Community Tasks changes (or rather, deletes) any file attributes of the files being zipped. Here is one of my calls to the Attrib task to make DLLs inside a folder have the read-only attribute:
<Attrib ReadOnly="true" Normal="true" Files="@(DLLsToReadOnly)" />
...
I have been trying to make a task in my TFS builds more generic, and one of the things I am trying to do is copy some files to different directories depending on the build using the task. I toyed with the idea of using properties, but I couldn't think of a way to do that cleanly, so I tried to go with using item metadata, as I've been ab...
I have a custom target (a group of copy tasks, among others) in my build that I need to call a couple of times to effect change in different places. However, this only runs the first time it is called, after which TFS build skips the said target.
The process goes as follows:
<!-- Copy some files to another location -->
<CallTarget Targ...
I'm implementing a continuous integration scenario for a SharePoint deployment. After all features have been build on the build server, I'm attempting to deploy the new features to the test server by running STSADM commands through PSEXEC.
When I run my script from any machine where I'm logged in, it runs fine. When I add an exec co...
Hi
I want to know if we can select maybe first and last work items out of a list of work items associated with a particular changeset.. or even select few changesets associated with a particular build.. won't that result in a straight error as the changesets are all directly dependent on each other?
How can we make the build pass with...
Dear Friend,
I have a web application using Team System, I would like to make a deploy automatic using the TFSBuild. The problem is: I’m not using a WebSite project and also I would like that project to be not compiled, because I am using a compilation mode “InPlace Deployment”. How can I do, to write the build’s script (TFSBuild.proj)...
Hi,
I have been using SVN for a little while now. recently on a project I am using TFS. With the builds I like to append/update the build version number on the project output. I do this on the masterpage so that it is clearly visible on the application. Since the application could be running on multiple machines, it is handy informat...
Visual Studio 2008 Web Deployment Project Team Build ASPPARSE Error
I seem to have a common problem; one that is showing up but does not have a clear solution.
I have a Visual Studio 2008 project structure that contains several projects that are class libraries, a web application project, and a recently added web deployment project. I...
I've just setup TFS 2010 Beta 2 on our server and it's running fine. I've checked-in my solution which is written in Visual Studio 2008 SP1, with a main Class project and Unit test project. Source control is working fine with the forward compatibility patch for VS 2008 Team explorer to work with TFS 2010.
The unit tests are written usin...
I'm integrating a Fitnesse Acceptance test suite into a TFS based CI process.
I can run the Fitnesse Test suite in a RESTful manner (http://fitnesse.org/FitNesse.UserGuide.RestfulTests):
http://myfitnesseserver/MyTestSuite?suite&format=xml
and get back an XML document of test results.
I'd like to transform that into a format th...
I am trying to get TFS 2008 to send me email notifications - primarily when a build fails. I have tried right-clicking on the project in Team Explorer, choosing Team Alerts and I have checked the "A build completes" item. It has my correct email address in the "Send to" field. I have also tried using the "Alerts" node that comes with Pow...
Hi,
I have got the following structure:
$
--TeamProject1
---Solution1.sln
----TestProject1
--TeamProject2
---Solution2.sln
----TestProject2
In TestProject1, I add TestProject2.dll as reference (Not a project reference, but a file reference). My question is: how to build a solution that reference to assemblies belonging to different te...
I want to create a build number which looks like Major.minor.Date.LastChangeSetInTFS, the problem is how to get last changeset number from the TFS. Is there any property, or something??
...