I have API project (.NET Framework 4.6) that contains a lot of different controllers, nuget packages, swagger, EF etc. If i load this project & make a build - everything succeeded (No issue found) and i can deploy my project to DevOps. However if i add atliest one line of code & make a build i get more that 6000 errors. I already tried to clean & rebuild my project but this does not help.
Some of those 6000 exeptions:
My workaround is: add code -> make build -> build will not succeded -> save project -> close VS -> open project again -> build = build succeeded.
Update from VS 16.8.3 to VS 16.9.0 solved this issue.
For some reason VS 16.8.3 treat CA warnings as errors even if its set Properties > Build > Treat warnings and errors = None"