}
elseif($env:build_system -eq "msbuild") {
# Append build destination to the PATH, configure dot and execute regression tests
- $env:Path += ";" + $env:APPVEYOR_BUILD_FOLDER + "\" + $env:configuration + "\Graphviz\bin";
+ # The following is per https://gitlab.com/graphviz/graphviz/-/merge_requests/1345
+ $env:Path = $env:APPVEYOR_BUILD_FOLDER + "\" + $env:configuration + "\Graphviz\bin" + ";" + $env:Path;
dot -c;
cd tests\regression_tests;
./regression_tests.bat;