Global usings analyzerA C# analyzer that will suggest moving usings to a single project file. Defaults to GlobalUsings.cs To change the name of the file (defaults to GlobalUsings.cs) add the following .editorconfig setting: dotnet_diagnostic.GlobalUsingsAnalyzer0001.filename = FILENAME.cs To disable the analyzer for a project/solution add the following .edtiorconfig setting: dotnet_diagnostic.GlobalUsingsAnalyzer0002.enabled = false To change the severity of the diagnostic per project/solution add the following .edtiorconfig setting: dotnet_diagnostic.GlobalUsingsAnalyzer0003.severity = error (can be info, warning, error or hidden) Note: The diagnostics must be placed under the [*.cs] entry to work Also available as a NuGet package for per-project installs: GlobalUsingsAnalyzer Release Notes1.4
1.3
1.2
1.1
1.0Initial release |