Mismatching MVID Issues

Hi!

I’ve been looking through some other threads surrounding this issue, but was hoping for a bit more information.

For reference, I’m running sonar-scanner-msbuild-5.0.3.23901

Been running into the following error:

 [exec]   CompilerServer: server failed - server rejected the request due to analyzer / generator issues 'analyzer assembly 'C:\Users\circleci\AppData\Local\Temp\.sonarqube\resources\2\System.Buffers.dll' has MVID '36e84b0d-9d74-4086-a062-54e1963f24d5' but loaded assembly 'System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' has MVID 'f389ca43-32bf-4e24-ad8c-a6ed5efddff3', analyzer assembly 'C:\Users\circleci\AppData\Local\Temp\.sonarqube\resources\2\System.Numerics.Vectors.dll' has MVID '95de52ab-0179-450a-9f6f-08d224d60b15' but loaded assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has MVID '34905ed1-db9d-4250-b31b-b80e1ff70ff5', analyzer assembly 'C:\Users\circleci\AppData\Local\Temp\.sonarqube\resources\2\System.Runtime.CompilerServices.Unsafe.dll' has MVID 'bd600ba8-23b5-4d45-ba63-f24457fa3be3' but loaded assembly 'System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has MVID '9dde2c5e-b52a-4cbd-861e-9aacf36593ce'' - da60e186-cf39-4142-8404-522e89e47a1b

showing some sort of MVID mismatch between sonar and my own package.

I’ve looked at changing some of the versions of my packages, as well as the net framework that their targetin, but at the end of the day I’m still having some trouble understanding the implications of this error and stuff - the builds still run fine. One thing I did notice was slowness - maybe this is the cause? Compilations server exist to reduce overhead of compilation right

Any ideas on how to troubleshoot and fix this? And the base-level implications of the error?

Hello. From our observations, these errors do not affect the output of the analysis.

We have some effort planned for early next year to investigate why the analysis is sometimes very slow. Currently we don’t know if this is related, it might.

For performance investigations we have a guide: Troubleshooting .NET performance problems

This topic was automatically closed after 18 days. New replies are no longer allowed.