I want to see all of the current environment variables during a build. I'd like to do this in the pre or post-build steps if possible because I don't want to edit the Targets file. This could print to the Output window or to a file. I've tried a number of different ways without success. I'm using Visual Studio 2008. Thanks!
+1
A:
If you just keyin set in the Post Build event, it displays the environment variables in the output window.
Malcolm Post
2009-05-15 17:11:33
That worked perfectly! I was trying too hard, and wrapping the set in %, etc.
2009-05-15 19:15:55