Code analysis error during Check-in to TFS

  • Thread starter Thread starter Asteron 1024
  • Start date Start date
A

Asteron 1024

Guest
When I'm trying to check in to TFS there's an error:
"An unexpected error occurred while evaluating the Code Analysis check-in policy. The error might be transient. Try again." Code Analysis Policy Errors - Visual Studio

There is no extra information by clicking on this error. I've tried to check the requirements from the reference, but that didn't help.

The solution contains .Net Core 2.0 projects and .Net Framework 4.6.2 projects.

The Code Analysis Policy always was enabled. It's happened on already existing solution and a new solution after initial check-in.


TFS settings set Microsoft Extended Correctness Rules, project rules are the same, checkbox "Enable Code analysis on build" checked.

The solution was rebuilt, also I've tried to run Code Analysis on Solution with result "Code Analysis Complete -- 0 error(s), 20 warning(s)"
The same error happens in VS2017 and VS2019

I really appreciate any help!

Continue reading...
 
Back
Top