Before running MPC to generate a solution, or before executing any scripts in the Test subdirectory, ensure that the environment variable DDSCODEGEN_ROOT is set to point to the directory containing this file (the top-level directory containing all of the project subdirectories).
