I tried this, but it doesn't seem to save the environment variables into the workspace properties like the workspace properties dialog does. It does set the environment variables temporarily, but the variables are not persistent. I don't want to have to run the macro every tine I open the project. I would like to run it only when I delete the project directory and recreate it from source control.
Attached is my macro, which is supposed to set the workspace environment variables from a file called "Environment.ini". It seems to work, except that the variables are nit persistent. In other words, if I open the workspace properties dialog after running the macro, the new variables are not listed.