I made followinh changes to the stylecop.json file
"orderingRules": {"usingDirectivesPlacement": "insideNamespace"}
But i am only getting warning and not error in the cs files.
When i place the using directive outside the namespace i don't get any error.
Please try the following steps:
Finally, you also need to refer to Should "using" directives be inside or outside a namespace in C#?. Because usually stylecop will not check the code outside the namespace