Replies: 3 comments
-
@tdg5 Maybe a good place to start is to log out which AnalyzerReferences are added to your project. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion @JoeRobich. I'm able to confirm that the IDE diagnostics could be discovered with More specifically, it seems like they were made visible by the package versions listed below but are no longer visible with
It also seems like the IDE diagnostics from Any thoughts on where to go from here? This info seems like it should narrow down the source of the discrepancy, but I don't know how to translate these versions into further digging. This comparison might offer some info, but there's a lot to go through: NET-SDK-9.0.103...NET-SDK-9.0.200 Similarly, something like A question I'm asking to try to get somewhere with this problem is "What would cause I don't have any real reason to blame it, but this commit, Reapply "Load analyzers and generators in isolated ALCs in our OOP process", isn't in any of the I'm out of juice for this right now 😓 . Any ideas or direction are welcome! Thanks again, any and all! |
Beta Was this translation helpful? Give feedback.
-
A potentially related question I might ask, but don't see any particular guidance for is... Is there something special I have to do to use the Nuget version of
I thought maybe something was forcing that package to I guess it's worth stating for clarity that I want |
Beta Was this translation helpful? Give feedback.
-
Hello! I apologize for the open-ended question, but I've spent a few hours on this problem and feel no closer to a solution.
TL;DR - Does anyone know why I might not be able to programmatically retrieve
IDE****
diagnostics withseverity=suggestion
starting with .NET 9.0.2?I have a project that includes a test suite to ensure that editor rules are enforced as expected. Previously I was able to gather
IDE****
diagnostics using this code:But now I don't seem to be able to do so. To be clear, I've made no code changes since this worked. I thought maybe I was filtering them out over here, but I tried writing all the diagnostics to console and none of them are
IDE
diagnostics.The specific suggestion severity diagnostics I am unable to detect are:
It's worth noting that I also have
CA1001
configured with a severity ofsuggestion
, and that one continues to work fine. So I'm not sure if this is anIDE****
thing or aseverity=suggestion
thing or some combination of the two.Thanks in advance for any and all help!
Beta Was this translation helpful? Give feedback.
All reactions