I'm trying to make a quick 60 second "grab from source, build and run with -test" video for my colleagues. I was going to make it 8 steps:
1. New project
2. Add variables
3. Add BuildPath c:\builds\profiletest
4. Add ProjPath %BuildPath%\proj\win
But it fails on point 4 because I get the pink pop-up telling me that BuildPath isn't defined. It is - I just defined it. When does a new variable start getting recognized by the expression parser?
You didn’t say exactly how you were adding the variables (there are multiple ways, but I’m guessing that it’s through the Edit Variables dialog. The issue here is that the expression parser doesn’t know about newly added variables as it only looks at the “live” variable namespaces, and those new variables only get added to the namespaces when you click on ok. We have a todo item for the next major release to make it possible for the expression parser to see these newly added variables before the dialog is closed.
If you add the variables by right clicking on the variables node in the project tree it should work as expected.