Code inspection gives compile errors
We are using code inspection when running out nightly build. The problem is that it is completely useless because it gives around 7000 compile errors.
All solution have been builded before in previuos steps.
Team city: 9.0.4
Please advise,
Michael
Please sign in to leave a comment.
Hi Michael,
Please provide more details. What runner do you use? What type of errors do you see? Please attach logs/screenshots indicating the problem.
I'm using the Inspections (.NET) - see screenshot
All the errors are compiler errors with Cannot resolve symbol '<something>'
All the projects are building before.
Build steps:
1. NuGet Installer (NuGet Installer)
2. Build Solution (Visual Studio)
3. Inspect (Inspections (.NET)
Attachment(s):
screenshot2.png
screenshot1.png
Please try to run inspections using command line build runner and "buildAgent\plugins\dotnet-tools\bin\inspectcode.exe" file with all needed properties (try to specify VisualStudioVersion) which are used when you run inspections not using TeamCity?
Also we have a related issue, please watch/vote for it.