Take a look at https://github.com/microsoft/vstest/issues/5091 and try to repro the issue. It could be a problem on our side (ToolTask).