|
When you are using Team Foundation Build to build a project for multiple environments, do you do one build for all environments, or keep a separate build script for each environment?
Think of the case when I might want the workspace version on my build...
Started by MStodd on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
There may be other things you want to take into consideration ... .
If not, I'd separate them.
Will you always or almost always want to build both a QA and UAT release at the same time? If so, it makes sense to build them in the same project.
|
|
How can I limit my post-build events to running only for one type of build? I'm using the events to copy DLLs to a local IIS virtual directory but I don't want this happening on the build server in release mode.
Started by JC on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Pass the configuration name with $(ConfigurationName)
Checking it is based on how you are implementing the post-build step....
You can pass the configuration name to the post-build script and check it in there to see if it should run.
|
|
I'm getting the following error when trying to build my app using Team Foundation Build:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1682,9): error MSB3554: Cannot write to the output file "obj\Release\Company.Redacted.BlahBlah.Localization...
Started by Luke on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You need to edit the build working directory of your Build Agent so that the begging path is a little smaller....
You have to checkout the build script file, from the source control explorer, and get your elbows dirty replacing the path.
|
Ask your Facebook Friends
|
I am trying to set up an automated build system on Windows using Cygwin. Among other things, it needs to be able to build several Visual C++ solutions. I have a script which sets up the environment variables needed for devenv, and if I type 'devenv' in...
Started by Dima on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The command would look something like:
msbuild ....
Devenv mysolution.sln /build Debug /out mylog.txt
will dump the build output to build VS solutions without any modifications and it spits output out the stdout.
I found a workaround.
|
|
I'm not sure it's even possible, but my command line usecase goes something like this:
do svn update
do a svn log -l {how many times since my last commit - 1}
do a `svn diff -rHEAD:{my last commit revision + 1}
and try to get an overview of what happened...
Started by Steen on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The next step would be to modify pages generated by hudson to give a more direct .
In the specific build page.
|
|
We are using TFSDeployer to listen to build quality changes and deploy to our staging environment when it transitions to "Staging".
I'd like to have it go ahead and update all of the other builds that have a currently build quality of "Staging" to be ...
Started by Chris Lively on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The easiest way to get this is if you have the BuildUri (which it sounds like you might) in which case a call to IBuildServer... .
You want to get hold of the IBuildDetail for the build.
However the .NET API for Team Build is able to do this.
|
|
The team I work for manages a large collection of technical documentation which is written in LaTeX.
Currently all the documentation we have is manually built by the editors and then checked into a version control system. Sometimes people forget to compile...
Started by Salim Fadhley on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
In general, its....
I went into great detail on a large number of build systems for latex build process.
Just thinking out loud, so to speak.
This would depend on how your repository is structured...
A script to rebuild the document.
|
|
I want to write a simple batch script that loads the Visual Studio build environment using vcvars32.bat and then continue with the build, using vcbuild . However, my script won't execute past the invocation of vcvars32.bat . The last output I get is:
...
Started by Jared Oberhaus on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Therefore your script should be:
@echo off call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" vcbuild You'll also... .
You have to use call in your batch script, or the termination of vcvars32.bat will terminate your own batch script .
|
|
My current project has 5 separate automated builds that kick off after each check-in:
Unit Tests (DB calls mocked out): ~6 Minutes
Integration Tests (just to the DB): ~40 Minutes
Website 1 UI (Selenium, from UI to DB): ~80 Minutes
Website 2 UI1 (Selenium...
Started by RKitson on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
We use ....
This way you can chose to only build specific parts of the overall application, test the individual part depending on the project.
We have just about the same build runtimes, maybe slightly less on selenium (I'd say around 3x50.
|
|
In vs2008, C# build events are configuration-specific.
Looking for ideas on how to make my build event run only when doing a Release build.
Ideas?
Started by theschmitzer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Check to see if you're setting build events that accepts a parameter then call it like this from the build event:
custom.exe $(ConfigurationName.
VS2008 does support per-configuration build events.
|