I am looking for a way to find out if a user has the "Start a Build" permission for a given project.
As of now, I know that the VersionControlServer object can be used to return a string array of the user's effective permissions within a project. But, when I run the GetEffectivePermissions method on the VersionControlServer, the "Start...
So you're striving for a job, then you have two to choose from:
Job A: You have direct contact with the customer. You get the user requirements. You design and develop being able to contact the customer for whichever issue you have. You receive the bug reports directly from the client, for whichever issue they have.
Job B: You don't h...
I have a scenario where I want to call one TFS build from another, the first one does the build and the second one does staging. This will allow me do multiple custom staging for the same solution.
I know, I can pull this off with an exec task in the second build and call tfsbuild.exe to queue a build from the first build definition. Bu...
Hi,
I've created a solution that includes all my projects, including the Dotfuscator projects, and setup projects.
Some of the Dotfuscator projects are obfuscating only some assemblies, without affecting any of their references.
When building from Visual Studio, this works great. However, when I run a team build, I get the following err...
When I queue two builds from the same Team Project, the first one starts immediately and the second is queued to run after the first is complete. However, when queuing two builds from different projects, they both start immediately. Is it possible to use this "queue" feature for builds from more than one project? I would like every bu...
What are the necessary steps I have to do to get Team Build 2008 to build a Visual Studio 2005 solution targeting .NET 2.0?
...
I'm having trouble getting Code Analysis to run on the build server. My goal is that on checkin the build server will build and run code analysis automatically. For some rules I would like the build to fail. I know how to use the team explorer to set which rules cause a fail.
I don't want the developer to have to run code analysis to...
I need my custom team build task to write some output to the build log file. How do I do this?
The Execute method inherited from the Task baseclass only has a boolean as return parameter.
...
I would like to be able to run a batch file on a remote computer after a build, where the build output and batch file are living on the build machine.
In other words, i want the batch file that is running on the remote computer to be located on the build server, available through a UNC path.
I've looked at WMI (System.Management) names...
I've switched from a Website Project to a WAP (Web Application project).
The WDP (Web Deployment Project) is used to set and potentially in the future make other web.config changes.
However I notice that the team build is building everything twice, once on behalf of the solution file and then again because of the WDP. Any idea how I c...
Can anyone shed some light on how to get Team Build 2010 beta 2 to push a SQL database project to the SQL server?
In VSTS 2008 you'd just add MSBuild commands with the targets attribute set to "deploy" in the TFSBuild.proj file, but I'm having a little trouble translating that to the new workflow based xaml thing that 2010 uses.
What I...
Setting up a new team build in tfs build 2008, you're forced to select a .sln file for your build definition.
I've read through Microsoft.TeamFoundation.Build.Targets, and from what I understand, all team build does is convert the silly .sln format to msbuild in tfsbuild.proj on-the-fly, and then build that. So what you end up with is ...
What's pro/cons between TeamCity and Team Build and why choose one instead of the other ?
...
I have this custom build step form my project:
<Target Name="BeforeBuild">
<WriteLinesToFile Condition="" File="$(OutputPath)\env.config"
Lines="$(Configuration)" Overwrite="true">
</WriteLinesToFile>
</Target>
Basically it outputs the build configuration to a file.
This works fine when building in Visual Stud...
I have a nightly team build that is reporting errors from the test step but zero errors in the summary. This results in a partial success.
I cant see any errors in the full build log but maybe it's just the quantity of warnings??
Anyone got any ideas?
Thanks
...
I have a nightly script that should build Debug and Release zip files then upload these via ftp to the client.
Ive always used AfterDropBuild for deployment of a single configuration - which works fine - but building both config's in a single build doesn't seem to work. I was hoping that AfterDropBuild would execute twice. I can of co...
Hi, I was wondering if anybody is using TFS 2010 beta 2 build server to build BizTalk 2009 projects created in VS 2008?
I created new BizTalk project in VS 2008 adding simple schema with promoted property. Then I created new build definition from VS 2008 Team Explorer and queued up new build on our TFS 2010 build server...
I'm getting ...
I'm trying to understand how to configure TFS Team Build to provide a CI solution for my project. I have a fairly common setup that I have several categories of unit tests. For simplicity lets say there are two categories:
Exchange2003
Exchange2007
Each test category needs particular software to be installed on the Build Agent so ...
Hi,
Following Situation:
2 Team Projects
Dvelop of Team Project A added Project References of Team Project B to their projects.
For speeding up the Build I want to replace the project references with referencing the dll's directly.
My Idea:
in the csproj of Team Project A:
<ProjectReference Condition="'$(IsDesktopBuild)' == 'true...
I have an odd situation. I have a suite of unit tests that pass on my dev machine. They pass on the build machine if run from visual studio. But 5 of them reliably fail during the automated build. There is nothing noteworthy about the ones that fail that I can see (and I've stared at them a long time). Anyone seen anything like this? ...