How do I print a SET command in a Visual Studio 2008 assembly?

I want to see all current environment variables at build time. I would like to do this in the pre or post-build steps if possible, because I don't want to edit the Targets file. This can be printed in the Output window or in a file. I've tried several different ways with no success. I am using Visual Studio 2008. Thanks!

0


a source to share


1 answer


If you just set the key in the Post Build event, it displays the environment variables in the output window.



+1


a source







All Articles