views:

387

answers:

2

Visual Studio has a lot of environment variables like $(TargetFileName) but I can't seem to find a list of all of them on MSDN or via Google.

Does such a list exist?

+3  A: 

In most places where you can use those, there's a "Macros" button or similar, which shows all available macros and the current value of them. For example, go to the PostBuild event editor to find the list.

Edit: I just checked. There's a list in MSDN.

OregonGhost
A: 

These come from MSBuild Project Properties

David Kemp
Your linked list does not contain vital ones like $(TargetDir), so I'm not sure if that's the right list.
OregonGhost
I found that list myself. It is not what I'm looking for.
Dana Robinson