Visual Studio Code Analysis Deadlock

732 Views Asked by At

I am getting a deadlock error when I run code analysis from VS2013. I'm pretty sure all I need to do is increase or disable the deadlock timeout because I can run code analysis with standalone FX Cop 10. Is there something I can do to the csproj file to disable deadlock protection?

3

There are 3 best solutions below

0
Bogdan Gavril MSFT On

Looks like a bug to me. I doubt that code analysis has such granular settings exposed via msbuild, so all you can do in my opinion is to log a bug with Microsoft:

https://connect.microsoft.com/VisualStudio

Or simply hit the sad face in the top right corner of VS and send a frown.

0
Anuja Lamahewa On
0
Nicolas B. On

You can use the CodeAnalysisTimeout property of MSBuild. msbuild /p:CodeAnalysisTimeout=240 will result in /timeout=240 passed to FxCopCmd.exe.