Blazing.Mvvm.Analyzers
3.3.16
dotnet add package Blazing.Mvvm.Analyzers --version 3.3.16
NuGet\Install-Package Blazing.Mvvm.Analyzers -Version 3.3.16
<PackageReference Include="Blazing.Mvvm.Analyzers" Version="3.3.16"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Blazing.Mvvm.Analyzers" Version="3.3.16" />
<PackageReference Include="Blazing.Mvvm.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Blazing.Mvvm.Analyzers --version 3.3.16
#r "nuget: Blazing.Mvvm.Analyzers, 3.3.16"
#:package Blazing.Mvvm.Analyzers@3.3.16
#addin nuget:?package=Blazing.Mvvm.Analyzers&version=3.3.16
#tool nuget:?package=Blazing.Mvvm.Analyzers&version=3.3.16
<p> <img src="https://raw.githubusercontent.com/gragra33/Blazing.Mvvm/master/docs/github-pages/images/logo.png" alt="Blazing.Mvvm logo" width="96"> </p>
Blazing.Mvvm.Analyzers
🔎 Blazing.Mvvm.Analyzers is the optional Roslyn analyzer package for Blazing.Mvvm. It catches common MVVM mistakes at build time, including incorrect ViewModel inheritance, missing registration attributes, unsafe navigation, parameter mismatches, and incomplete cleanup patterns. Many diagnostics include a one-click code fix.
Quick Start
1. Install the packages
dotnet add package Blazing.Mvvm
dotnet add package Blazing.Mvvm.Analyzers
2. Build your project
No additional registration or configuration is required. The analyzers run automatically in supported IDEs and during dotnet build.
dotnet build
3. Review and fix diagnostics
Diagnostics use the BLAZMVVM prefix and identify both the problem and the affected code:
// BLAZMVVM0001: ViewModels should inherit from ViewModelBase.
public class CounterViewModel
{
}
// Correct
[ViewModelDefinition]
public partial class CounterViewModel : ViewModelBase
{
}
When a code fix is available, use the IDE lightbulb or Ctrl+. to apply it.
For the complete analyzer catalog, severity levels, configuration options, examples, and code-fix guidance, see the Analyzer Rule Guides.
Documentation
Full analyzer documentation is available in the Analyzer Rule Guides. The generated analyzer types are covered in the API reference.
Share Your Feedback
If the analyzers help you, use them, share them, and give the project a ⭐️. For suggestions, feature requests, false positives, or issues, create an issue.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.3.16 | 106 | 8/2/2026 |
| 3.3.15-beta | 91 | 7/24/2026 |
| 3.3.11-beta | 98 | 7/23/2026 |