Hi James,
NAnt currently already has 2 mechanisms for *reading* environment
variables, the| environment::get-variable [1] function and the
[2] task. However there is no way to set them so your setenv
( or whatever you called it ) task sounds useful. Even better would be
to add a platform test
All-
I’ve created a pair of NANT tasks to read and write
environment variables. Reading
is done using Environment.GetEnvironmentVariable and stored in a property and
writing via the windows API ala DllImport. Any environment variables set
during the execution of a nant run are only vi