如果代码分析器规则产生异常(消息AD0001),我该怎么办?

时间:2015-11-15 19:35:40

标签: c# visual-studio-2015 roslyn-code-analysis

在示例项目中,我通过代码analzyer收到以下通知消息:

image of the exception

我尝试禁用上述规则(CA1033) - 但该消息仍然存在。由于没有创建此异常的文件的信息,我不知道哪个文件导致异常。

我尝试的另一件事是将第二个visual studio实例作为调试器附加,但是当触发异常时它不会中断。

有什么想法吗?我应该将此问题报告给the analyzer github project吗?

NullReferenceException的Stacktrace:

root../public/htdocs# bundle show passenger
Could not find gem 'passenger'.
Did you mean passenger?
root../public/htdocs# gem install passenger
Building native extensions.  This could take a while...
Successfully installed passenger-5.0.21
1 gem installed
Installing ri documentation for passenger-5.0.21...
Installing RDoc documentation for passenger-5.0.21...
root../public/htdocs# bundle show passenger
Could not find gem 'passenger'.
Did you mean passenger?

0 个答案:

没有答案