Diagnostic Analyzers
The following are the diagnostic analyzers installed with the Microsoft.VisualStudio.SDK.Analyzers NuGet package.
| ID | Title | Category |
|---|---|---|
| VSSDK001 | Derive from AsyncPackage | Performance |
| VSSDK002 | PackageRegistration matches Package | Performance |
| VSSDK003 | Support async tool windows | Performance |
| VSSDK004 | Use BackgroundLoad flag in ProvideAutoLoad attribute | Performance |
| VSSDK005 | Use the JoinableTaskContext singleton | Reliability |
| VSSDK006 | Check service exists | Reliability |
| VSSDK007 | Avoid ThreadHelper for fire and forget tasks | Reliability |
| VSSDK008 | Avoid UI thread affinity in MEF Part construction | Reliability |
| VSSDK009 | Use approved VsTaskRunContext values with VsTaskLibraryHelper | Reliability |
| VSSDK010 | Remove unnecessary ProvideAutoLoad attribute | Performance |
| VSSDK012 | Use the latest VisualStudioServices version | Performance |
This analyzer package also depends on the Microsoft.VisualStudio.Threading.Analyzers package, which adds many more analyzers.