Scotec.Revit.Analyzers
2027.4.1
See the version list below for details.
dotnet add package Scotec.Revit.Analyzers --version 2027.4.1
NuGet\Install-Package Scotec.Revit.Analyzers -Version 2027.4.1
<PackageReference Include="Scotec.Revit.Analyzers" Version="2027.4.1" />
<PackageVersion Include="Scotec.Revit.Analyzers" Version="2027.4.1" />
<PackageReference Include="Scotec.Revit.Analyzers" />
paket add Scotec.Revit.Analyzers --version 2027.4.1
#r "nuget: Scotec.Revit.Analyzers, 2027.4.1"
#:package Scotec.Revit.Analyzers@2027.4.1
#addin nuget:?package=Scotec.Revit.Analyzers&version=2027.4.1
#tool nuget:?package=Scotec.Revit.Analyzers&version=2027.4.1
Scotec.Revit.Analyzers
Roslyn analyzers that enforce correct usage patterns for Autodesk Revit add-ins built with the Scotec.Revit libraries.
Overview
Scotec.Revit.Analyzers is a compile-time Roslyn diagnostic analyzer package that detects common mistakes in Revit add-in code. It is automatically included as an analyzer dependency when you install Scotec.Revit, so you do not normally need to reference it directly.
Diagnostics
RevitTaskDispatcherRunAnalyzer: Detects incorrect RevitTaskDispatcher usage that would cause Revit API calls to execute outside the valid Revit API context. For example, calling Revit API methods directly from background threads or async continuations instead of dispatching them through the IExternalEventHandler mechanism.
Usage
This package is consumed automatically as part of Scotec.Revit. Diagnostics appear in the Visual Studio Error List and as build warnings or errors according to your project severity settings.
dotnet add package Scotec.Revit.Analyzers
Related Packages
- Scotec.Revit https://www.nuget.org/packages/Scotec.Revit/
License
MIT License https://licenses.nuget.org/MIT
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 |
|---|---|---|
| 2027.4.2-dev.7 | 38 | 11/17/2026 |
| 2027.4.2-dev.5 | 55 | 11/16/2026 |
| 2027.4.1 | 124 | 11/1/2026 |
| 2026.4.2-dev.7 | 39 | 11/17/2026 |
| 2026.4.2-dev.5 | 59 | 11/16/2026 |
| 2026.4.1 | 115 | 11/1/2026 |
| 2025.4.2-dev.7 | 46 | 11/17/2026 |
| 2025.4.2-dev.5 | 55 | 11/16/2026 |
| 2025.4.1 | 119 | 11/1/2026 |