开发者

MSBUILD macro documentation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting ans开发者_JAVA技巧wers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

I'm using MSBUILD macros in my .csproj files for AfterBuild events mainly just to copy files. I'm doing this by example, so the only ones I know of are the ones I've seen in use: SolutionDir, ProjectDir, OutputPath, and Configuration. Is there a list or good info page online anywhere so I can read up on what's available, what point in the build they're available, customization, etc? I know that when using post build events in the project properties Build Events tab, the macros and their corresponding values are listed in a dialog...does any such gui exist for MSBUILD? Currently I'm just manually editing the .csproj files.


These are called Properties, not macros. See:

Reserved Properties

Common project properties


There's the MSDN MSBuild Reference.

The landing page has an overview of the different areas, though I must admit I can't find anything on the AfterBuild events at the moment. Even the Targets page itself is a little short of information in this area.


Here is what you were looking for.

MSDN - Macros for Build Commands and Properties

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜