1

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?

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
user653649
  • 115
  • 1
  • 9

3 Answers3

1

Would this help ?

VS2013 FxCop CA0001 : FxCop appears to have hung or deadlock

Anuja Lamahewa
  • 897
  • 1
  • 11
  • 23
0

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.

Bogdan Gavril MSFT
  • 20,615
  • 10
  • 53
  • 74
0

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

Nicolas B.
  • 7,245
  • 17
  • 29