Why is Code Analysis not working on TFS 2012 build?

As suggested in one of the related questions you need to install VS 2012 on a TFS 2012 build server to run code analysis as part of the build process.

For some reason it still doesn't work and doesn't give any errors.

The build settings for code analysis are set to Always, but it still fails.

However, I opened the same project on a TFS build server in VS 2012 and tried to run Code Analysis and it completed successfully.

I need to make it work.

Can anyone suggest if I'm missing something here?

+3


source to share


1 answer


To configure your project, you need a set of code analysis rules.



You can set this config in your project options: enter image description here

0


source







All Articles