我在哪里可以获得项目文件中所有可用属性的列表?

时间:2022-11-01 15:10:47

I'm looking for a resource to list all the built-in properties defined in an MSBuild project file. Specifically I'm using a Team Build project file, but from what I understand they are one in the same (correct me if I'm wrong).

我正在寻找一个资源来列出MSBuild项目文件中定义的所有内置属性。具体来说,我正在使用Team Build项目文件,但据我所知,他们是同一个(如果我错了,请纠正我)。

I already know about the reserved properties: http://msdn.microsoft.com/en-us/library/ms164309.aspx

我已经知道保留的属性:http://msdn.microsoft.com/en-us/library/ms164309.aspx

But I've noticed other handy variables being referenced in examples, like $(SolutionRoot) and $(OutDir).

但是我注意到在示例中引用了其他方便的变量,比如$(SolutionRoot)和$(OutDir)。

Is there a comprehensive list of all the properties I have access to? Where are these other properties defined? I found a forum post where the same question was asked, and it pointed to the Microsoft.TeamFoundation.Build.targets file, but I looked in there and could not find definitions for $(SolutionRoot) and $(OutDir) listed.

是否有我可以访问的所有属性的完整列表?这些其他属性在哪里定义?我找到了一个论坛帖子,其中提出了同样的问题,它指向了Microsoft.TeamFoundation.Build.targets文件,但我查看了那里,找不到列出的$(SolutionRoot)和$(OutDir)的定义。

Thanks for any help you can give, Daniel

谢谢你能给予的任何帮助,丹尼尔

2 个解决方案

#1


Did you see this: http://www.woodwardweb.com/vsts/30_useful_team.html

你有没有看到这个:http://www.woodwardweb.com/vsts/30_useful_team.html

#2


This is another great reference:

这是另一个很好的参考:

http://blogs.msdn.com/aaronhallberg/archive/2008/02/12/team-build-2008-property-reference.aspx

Vaccano

#1


Did you see this: http://www.woodwardweb.com/vsts/30_useful_team.html

你有没有看到这个:http://www.woodwardweb.com/vsts/30_useful_team.html

#2


This is another great reference:

这是另一个很好的参考:

http://blogs.msdn.com/aaronhallberg/archive/2008/02/12/team-build-2008-property-reference.aspx

Vaccano