-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Certain .editorconfig rules are ignored in 8.0.200 and newer versions #72865
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Related to #72094? |
Similar issue here for 8.0.202. A context action for "fix formatting" was no longer showing up in Rider after upgrading from 8.0.101. I noticed that no *.editorconfig files were present within 8.0.202/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/ $ ls ./8.0.202/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config
analysislevelstyle_all.globalconfig
analysislevelstyle_none.globalconfig
analysislevelstyle_default.globalconfig
analysislevelstyle_recommended.globalconfig
analysislevelstyle_minimum.globalconfig Here is what this looks like for 8.0.101: $ ls ./8.0.101/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config
analysislevelstyle_all.editorconfig
analysislevelstyle_default.editorconfig
analysislevelstyle_minimum.editorconfig
analysislevelstyle_none.editorconfig
analysislevelstyle_recommended.editorconfig New to dotnet so I might be stating the obvious but will be switching back to 8.0.101 for the time being. |
@jaredpar is this something that we should transfer to roslyn? |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
This one is related to another issue that Todd is looking at. |
Actually this issue is just a duplicate of #72094 |
Describe the bug
I have an
.editorconfig
file in a sub folder of my project with the following rule:When I'm on SDK version
8.0.102
that rule works and is ignored.When I'm on SDK version
8.0.200
or8.0.201
I see the error:To Reproduce
https://github.com/Tiberriver256/dotnet-802-editor-config-ignored-issue
The repo above should have
IDE0022
shown in build errors. Change thesdk.version
in theglobal.json
to8.0.102
to see the error go away.Exceptions (if any)
N/A
Further technical details
The error shows whether I use Visual Studio, Visual Studio Code, or
dotnet build
.It isn't broken for all rules. I can override
CA1852
just fine.The text was updated successfully, but these errors were encountered: