Access TeamCity project properties inside the build script?

Is there any way to access TeamCity project or build configuration properties from inside the build script? I know there are variables and properties for the build number and working directory, but what about things like the project name?

I realise I could manually create a variable with the same value as the project name, but we change the project name for every release of the application and it's easy to forget to keep the two in sync. We're using .NET 2.0 with MSBuild.

Thanks in advance for any help!

Comment actions Permalink


Currently there is no way to access project name as system property (but in fact, project name is the name of the directory your project is being built in).
If you need this or possibly some other properties, please file Jira request for that at:

Kind regards,


Please sign in to leave a comment.