-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppress RZ10012 #6967
Comments
@allisonchou: Let's test this with the latest VS Code bits to see if it still repros there. |
It happened to me in Visual Studio 17.4 just today (not VS Code). |
For me, the |
It happens to me too, it is NOT USABLE AT ALL. This is a very much urgent issue in my opinion. I simply can not keep coding like this. Check this screen recording, it starts to blink on and off. screencast-nimbus-capture-2023.01.13-18_56_58.webm |
@phil-allen-msft I'm moving this back to triage since users are reporting this repros in both VS and VS Code. The last comment I believe is another instance of the colorization issues we've been seeing recently. |
@phil-allen-msft what was the rationale behind making this a compiler issue? Is there some more info somewhere about what’s causing it? |
Oh, I see this is about the suppression itself not working. Ok makes sense that that would be us. |
I still have the same issue on .NET 8 using C# and Blazor. Suppressing the RZ10012 warning still doesn't work via .editorconfig or the tag in the .csproj file. |
Stumbled upon this as well while tackling some other issue over at #6641 (comment) (Note that I did the override in
Override works for public class Class1
{
public string Foo { get; set; }
} But not for So generally speaking, edits: more details |
I think that |
putting the override in a This might be due to the original confusion about |
In my blazor project, I get hundreds of
RZ10012
warnings:This seems to be a bug, going back for years. It's been reported dozens of times on SO and in various GitHub repos. There are no fixes or workarounds that work consistently.
It's impossible to be productive when the entire editor shows squigglies. Since the app itself works, I want to suppress that analyser rule.
So I added this to an
.editorconfig
in the project's root:That doesn't help. I also tried a
.globalconfig
file.How can I suppress it?
(I'm using .net6 and vscode)
The text was updated successfully, but these errors were encountered: