Random MessageBox when executing tests

Lorenzo Zambelli 45 Reputation points
2025-03-05T08:23:21.96+00:00

Hello,

we are running vstest.console in Visual Studio 2022 Enterprise Edition on a Hyper-V Windows 11 24H2 virtual machine, and we randomly get the blocking messagebox you see in the screenshot below, does anyone know the cause of that and how to fix it?

Thank you in advance for your support.image_2025_03_04T12_43_27_197Z

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
361 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lorenzo Zambelli 45 Reputation points
    2025-03-11T15:09:05.5066667+00:00

    Hello @Tianyu Sun-MSFT ,

    after several runs I can confirm that the PowerShell as administrator won't solve the issue.

    So our best hope is to fix the warnings you saw in my previous screenshot... Do you have any idea how to fix them?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.