List of MSBuild built-in variables

Viewed 101708

How can I get a list of built-in MSBuild variables?

I need to know how to determine the current project's csproj name, and thought it might be useful to know what else I can find out in MSBuild.

6 Answers

These properties can also be defined by 3rd-party tools so to get the complete list I just use (in a C++ project for example): Properties -> Configuration Properties -> General -> then on the Output or Intermediate Directory drop down choose Edit... and you should see a list of all defined properties.

Related