Visual Studio Code Analysis: CA0001 Error Running Code Analysis - object reference not set to an instance of an object

Posted by sturdytree on Stack Overflow See other posts from Stack Overflow or by sturdytree
Published on 2012-12-15T15:39:35Z Indexed on 2012/12/17 23:03 UTC
Read the original article Hit count: 1539

Filed under:

For a WPF application being developed in VS 2012 (Ultimate), the application runs fine when a particular project's code analysis is disabled. Enabling it results in the error above.

This was working fine until recently (i.e. running with code analysis enabled for the particular project) and the only recent change I can think of is removing NHibernate Profiler (using NuGet).

Will be grateful for any pointers on how to debug this, or to see a more detailed log/error message.

© Stack Overflow or respective owner

Related posts about code-analysis