teamcity

msbuild.exe staying open, locking files

I use TeamCity which in turn invokes msbuild (.NET 4). I have a strange issue in that after a build is complete (and it doesn't seem to matter if it was a successful build or not), msbuild.exe stays open, and locks one of the files, which means every time TeamCity tries to clear its work directory, it fails, and can't continue. This hap...

Bin folder not being copied with MSBuild, Teamcity

I have a very odd issue, where I've created a custom MSBuild task that would move all files I need for my MVC project to a specific location so that we can publish it. This works fine when I trigger the script localy on my machine but as soon as I check this changes in and Teamcity runs the script, it copies everything except from the Bi...

How to make TeamCity build fail if artifacts are not found?

Is it posible to fail TeamCity builds if artifacts are not found? I mean without writing any special script, i.e. does TeamCity has such built-in functionality? ...

How to build Silverlight 4 applications without Visual Studio?

Hi, We're setting up a TeamCity build server for continuous integration. To keep things clean, we don't want to install Visual Studio on the build server. I'm wondering how we can build Silverlight 4 apps without it? I'd expect there to be a Silverlight 4 SDK which installs separately from VS - but so far I haven't found one. There's ...

C#, TeamCity - Avoiding the post build events on the TeamCity server

I have a number of projects which I have outputting to a central repository of DLLs in my development environment. This is achieved by adding an XCopy command into the Post-build event command line of the project. XCOPY $(TargetDir)$(TargetFileName) C:\DEV\library /I /R /Y I want this to happen in dev mode but when on the TeamCity ser...

Is it a bad idea to have a TeamCity webserver instance also act as a build agent?

I'm building an Amazon EC-2 cloud-based build server for my personal development projects using Team City Professional. I only intend to use it of an evening and my project builds are going to be quite small. At this stage, is there a good reason why I should go for two servers: one hosting the Team City website another configured as...

Overly verbose output for Teamcity MSBuild Runner

I'm kicking of an msbuild script using the Teamcity msbuild runner. Unfortunately, I'm finding that the build log output is too verbose, specifically each message is prepended with: [08:52:34]: [Project "SomeScript.msbuild.teamcity.patch.tcprojx" (CleanBuildAll target(s)):] (The script, teamcity extension, and task being run). I...

TeamCity + WiX + MSBuild workflow suggestions needed

I've been working on the next step of my continuous integration project, which is to get TeamCity to build my application, automatically change the version number of all assemblies, and then create an installer. A little background first: I've been running TeamCity successfully for the past several months, and it builds my configuratio...

Mbunit v2.4 running on Gallio inside NAnt: "The test assembly setup failed"

Dear all, I'm trying to run the tests I developed with MbUnit v2 under Gallio. All from inside a NAnt script that is started via TeamCity (actually the CodeBetter installation of TeamCity). The tests run on my local machine inside the GUI Gallio Runner named Icarus, but not when the runner is in Local mode, only if I specify "IsolatedAp...

TeamCity: Failed to detect target in MSBuild project

Hi Everybody, I have some problems with the TeamCity MSBuild replacement I think. I've tried to compile a Delphi 2010 Project (MSBuild compliant) with NAnt using the MSBuild task (NAnt Contrib). Everything works fine, if I do it without TeamCity on the console. If I try it with TeamCity, I get the following error message: Failed to ...

TeamCity Username / password

Hi I installed teamcity longtime ago, on my home computer. I am trying to re-use it again now, but I forgot the admin username and password Is there a default admin user name? and how can I get the password? Thank ...