Build failed The “IsTestByReference” task could not be loaded from the assembly

Hello, could you please assist me with this? I recently upgraded from Windows 10 to Windows 11, and since then, whenever I configure SonarQube, I receive the problem below. I’m using Visual Studio 2022 with the MsBuild tool. After updating to Windows 11, I’m having trouble with the licensed version that was working perfectly in Windows 10.

the below image shows the error log in CLI

Do not raise multiple threads for the same issue.

I will close this one.