SA1642 Warnings occur when using .NET Core SDK 2.1.300
See original GitHub issueI’ve recently updated to the latest version of the .NET Core SDK, version 2.1.300. I’m now seeing SA1642 warnings when running dotnet build
on a project which changes the documentationCulture
to en-GB
. I’ve managed to replicate this with version 2.1.300 on both Ubuntu and Windows.
It also appears that other rules are being respected. For example, I’ve changed the usingDirectivesPlacement
from that standard and get no warnings. I’ve also dropped in a global.json
into my solution to downgrade the .NET Core SDK version to 2.1.200 and 2.1.201. When I do this, I no longer get any warnings.
I was initially running version 1.1.0-beta006
and thought that might be a cause, but when I also upgraded to 1.1.0-beta007
the issues also occurred.
My stylecop.json
looks like:
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"documentationCulture": "en-GB"
},
"orderingRules": {
"blankLinesBetweenUsingGroups": "omit",
"usingDirectivesPlacement": "outsideNamespace"
}
}
}
Let me know if you need any other information.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
@fubar-coder I would prefer to see someone put time into fixing the underlying bug instead. All of the code in question is open source.
@nguerrera No, that works fine.