Does anyone know where are list of builtin MSBuild variables are located?
I need 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.
Does anyone know where are list of builtin MSBuild variables are located?
I need 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.
Ummm...the accepted answer is incorrect for C# (or VB, ...), it's only for C++.
For example, ConfigurationName is used instead of Configuration.
These will serve you better: