I want to treat resharper 5.0 error "Possible NullReference Exception" as MSVS 2010 compile error. Is it possible?
+1
A:
You can edit the type of warning that will be issued by R# under ReSharper/Options/Code Inspection/Inspection Severity.
However, this will not necessary mean that the compiler throws errors - R# isn't responsible for actually compiling the code when you hit "Build" in your project.
Tomas Lycken
2010-07-29 10:30:16
Yes, I've already done that and found the same thing. But I thought maybe there's a kinda hack to somehow tune the compiler.
type_mismatch
2010-07-29 10:36:11
@type: I doubt it - in that case, msbuild.exe probably would already emmit warnings about that.
Tomas Lycken
2010-07-29 10:48:20