English 中文(简体)
What is the variable signifying the TFS project name?
原标题:

I am creating a Team Foundation Server (TFS) 2008 build agent for a project of mine. For the working directory, we don t use the default $(Temp)$(BuildDefinitionPath). Instead of Temp, we use a specific folder. That folder path includes the Team Project s name. Here comes my question. Is there a variable replacement for the Team Project s name.

Example Working directory: D:BuildsBuildAgentsAdventureWorld$(BuildDefinitionPath)

I want to replace AdventureWorld with a variable.

最佳回答

Use $(MSBuildProjectName):

The file name of the project file without the file name extension, for example, MyApp.

问题回答




相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...

热门标签