I am new to TeamCity, and I must say that I am loving it! With builds on over 3 different OSes, TeamCity really makes my job easy!!
I was wondering if it is possible to configure TeamCity server to commit build artifacts back to the SVN trunk on the event of a successful build. The event is already captured, so it should be possible, right?
Also, I have a Visual Studio .NET 2003 solution that needs to be built on Windows XP. I can't use TeamCity's SLN2003 runner because of the integrated NAnt thing... I don't use NAnt, and the solution is not based on .NET but on native C++. So, I used to the Command Line runner to run the build command. Now, the issue I am facing is this:
- If I run the following command from the Windows command prompt, it works fine: devenv MyApp.sln /rebuild "Release Trial"
- I configured TeamCity's command line runner like this: Command: devenv.exe Command line arguments: MyApp.sln /rebuild "Release Trial"
- All evnvironment variables as well as the working directory are configured correctly.
- Now, when I run the build script it begins normally. The output shows "Cleaning intermediate files..." (the normal output of devenv), then just as compilation is about to begin, devenv crashes with a Windows XP standard error report dialog.
This occurred consistently each time I tried to run the build using TeamCity. And running it from the command line was no problem at all! I tried all the tricks I could think of (setting up environment variables manually, using the /safemode and /useenv command line options for devenv, putting the command in a batch file).... Does anybody else have any idea at all?