Disabling certain warnings

I am trying to find a way to disable some of the custom warning from being run. I am creating controls using Script# which requires mscorlib to not be referenced in the project. Unfortunately, I get an error saying that "Module 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=...' should be referenced."

Using Reflector, I found the classes that control this behavior (UnreferencedModuleError and DetectUnreferencedModule). Basically, I am looking for a way to disable the warning when it applies to mscorlib.

I am not sure if this is possible to do with the OpenAPI or not. I looked at the CyclomaticComplexity example and saw how to create a processors using attributes, but not how to deal with ones that already exist.

Thanks.

1 comment
Comment actions Permalink

Unfortunately, ReSharper 3.0 is incompatible with projects referenced
non-standard mscrolib :( The problem is not in "DetectUnreferencedModule"
etc, but much deeper, in our whole type system

This problem is already solved in ReSharepr 4.0 being developed

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Eric Hauser" <ewhauser@gmail.com> wrote in message
news:19776215.1192816591942.JavaMail.itn@is.intellij.net...
>I am trying to find a way to disable some of the custom warning from being
>run. I am creating controls using Script# which requires mscorlib to not
>be referenced in the project. Unfortunately, I get an error saying that
>"Module 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=...'
>should be referenced."
>

Using Reflector, I found the classes that control this behavior
(UnreferencedModuleError and DetectUnreferencedModule). Basically, I am
looking for a way to disable the warning when it applies to mscorlib.

>

I am not sure if this is possible to do with the OpenAPI or not. I looked
at the CyclomaticComplexity example and saw how to create a processors
using attributes, but not how to deal with ones that already exist.

>

Thanks.



0

Please sign in to leave a comment.