MChris.DotnetCheck
1.0.11
dotnet tool install --global MChris.DotnetCheck --version 1.0.11
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local MChris.DotnetCheck --version 1.0.11
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MChris.DotnetCheck&version=1.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MChris.DotnetCheck --version 1.0.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-check
A CLI tool for real-time C# diagnostics using Roslyn. Get IDE-like error checking without full builds.
Installation
# Per-repo (recommended)
dotnet new tool-manifest
dotnet tool install MChris.DotnetCheck
# Restore after cloning
dotnet tool restore
Usage
# Check a specific file
dotnet-check check --file ./MyFile.cs
# Analyze entire solution
dotnet-check analyze
# Server management
dotnet-check status
dotnet-check stop
dotnet-check reload # After dotnet restore
How It Works
dotnet-check runs a background server that loads your solution using Roslyn's MSBuildWorkspace. When you check a file, it returns diagnostics instantly without rebuilding.
- Fast feedback: No build required, just Roslyn analysis
- Full diagnostics: Errors, warnings, and analyzer results
- Third-party analyzers: Includes analyzers from NuGet packages
- EditorConfig support: Respects your .editorconfig rules
Requirements
- .NET 10 SDK
- Windows (Linux support planned)
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.