All-
Ive 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
Hi James,
NAnt currently already has 2 mechanisms for *reading* environment
variables, the| environment::get-variable [1] function and the
sysinfo/ [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
I don't propose anything but I think you just did :)
Using the FrameworkConfigurable attribute seems a reasonable way to do this.
I wouldn't worry too much about third party tasks just yet. Hopefully
they'll maintain the same commanline interface across platforms. We're
only getting this issue