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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Blazing.Mvvm.Analyzers" Version="3.3.16">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blazing.Mvvm.Analyzers" Version="3.3.16" />
                    
Directory.Packages.props
<PackageReference Include="Blazing.Mvvm.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Blazing.Mvvm.Analyzers --version 3.3.16
                    
#r "nuget: Blazing.Mvvm.Analyzers, 3.3.16"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Blazing.Mvvm.Analyzers@3.3.16
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Blazing.Mvvm.Analyzers&version=3.3.16
                    
Install as a Cake Addin
#tool nuget:?package=Blazing.Mvvm.Analyzers&version=3.3.16
                    
Install as a Cake Tool

<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

CI/CD

Blazing.Mvvm.Analyzers Downloads

🔎 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.

There are no supported framework assets in this package.

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