This resolves resolves https://github.com/ros2/ci/issues/411. I tracked PATH variables through various windows shell environments that get called and could not find where the PATH does not properly contain the locations for the rtiddsgen.bat and rtiddsgen_server.bat scripts. However, by the time it's called in Visual Studio, the script names can no longer be found in the path. Changing their locations to absolute paths, like is done for non-windows platforms fixes the issue.
This resolves resolves https://github.com/ros2/ci/issues/411. I tracked PATH variables through various windows shell environments that get called and could not find where the PATH does not properly contain the locations for the rtiddsgen.bat and rtiddsgen_server.bat scripts. However, by the time it's called in Visual Studio, the script names can no longer be found in the path. Changing their locations to absolute paths, like is done for non-windows platforms fixes the issue.
With 16.4.5 (current):
With 16.5: