Analyzers for consumers of Microsoft.CodeAnalysis NuGet package, i.e. extensions and applications built on top of .NET Compiler Platform (Roslyn). This package is included as a development dependency of Microsoft.CodeAnalysis NuGet package and does not need to be installed separately if you are referencing Microsoft.CodeAnalysis NuGet package.
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio). This package contains only the library, without a dependency on the analyzers. Use the Microsoft.VisualStudio.Threading package to get the library and analyzers together.
When using dependency injection and async-await pattern it is possible to end up with an interface with a method that returns a Task. If this interface method is used in a synchronous method there is a likelihood that it will erroneously be run as a fire and forget method. In this situation this analyser generates a warning.
Enables live validation of architecture dependencies. Layering is expressed with Dependency Validation Diagrams (Layer Diagrams)
A fast, dependency-free, AOT-friendly .NET string toolkit organized into simple modules: Text (casing, humanize, truncate), Validate (email/URL/IP/IBAN/ISBN/credit card and more), Country (calling codes, postal codes, ISO data), Similarity (incl. Myers bit-vector), Phonetic, Fuzzy (incl. Bitap approximate search), Extract, Normalize, Clean, Confusables (homoglyph/spoof detection), Mask, Hash, Encode/Decode, Generate, Compare (natural + locale collation), Search (Boyer-Moore/KMP/Rabin-Karp/Aho-Corasick), SuffixArray, SuffixAutomaton, Trie, BloomFilter, BkTree, Tokenize, Streaming, Slug, Inflect, Template, Metrics (incl. readability), Analyze, Password, RegexTools, Diff (incl. Myers), Unicode (graphemes, zero-width, bidi), Utf8, Transliterate, Language and Profanity. Just add the package and call Text.ToSnakeCase("x"), Validate.Email("x"), and more.
Powerful and developer-friendly OCR API for extracting text from images and creating searchable PDFs. Add optical character recognition to on-premises solutions, web sites, cloud services, and serverless functions with just a few lines of native .NET code. Effortlessly transform scanned pages, photos, screenshots, handwritten memos, and other images into machine-readable text, regardless of the font, layout and styles. Find and compare text on images. Bulk-recognize all images from folders and archives; read multi-page PDF documents and TIFF images. Aspose.OCR is a universal solution for document processing, data extraction, and content digitization on a global scale. Supporting over 130 European, Middle East, Asian, African and American languages, the library allows you to recognize texts in Latin, Cyrillic, Arabic, Chinese, and Hindi scrips, including text in mixed languages. The library can be used virtually everywhere, catering to both small and medium businesses as well as multinational corporations. With Aspose.OCR, optical character recognition becomes a trivial and straightforward task, even for developers new to the technology. You can focus at business task rather than complex maths, neural networks, and other technical intricacies. Powerful image processing and customizable content structure detection algorithms enable text extraction from virtually any image, ranging from high-quality scans to street photos. Aspose.OCR for .NET can work with virtually any file you can get from a scanner or camera, including PDF document and multi-page TIFF images. Recognition results are returned in the most popular file and data exchange formats that can be saved, imported to a database, or analyzed in real time. Changelog: - Added RetainImageForExport and RecognitionResult.ReleaseImage() for memory-efficient reuse of preprocessed source images during export. - Extended ThreadsCount to all recognition settings, improved concurrent recognition, and fixed image loading from URI sources. - Improved DOCX export with detected fonts, preserved image positioning, full-page images, adaptive page layout, and table rendering in TABLE and MULTICOLUMN modes. - Improved Markdown export with structured table rendering and document-specific image assets. - Improved automatic OCR model downloads with thread-safe initialization. - Deprecated SaveMultipageDocument in favor of OcrOutput.Save. The obsolete API will be removed in version 27.3.0 (March 2027). - Updated Aspose.Drawing.Common and Aspose.PDF dependencies. - Added DetectAreasMode.DOCUMENT_LAYOUT for complete document structure detection, including columns, tables, images, charts, and formulas. Check for details at https://releases.aspose.com/ocr/net/release-notes/2026/aspose-ocr-for-net-26-10-0-release-notes/ Resources: Product page: https://products.aspose.com/ocr/net/ Advanced OCR models: https://github.com/aspose-ocr/resources Online documentation: https://docs.aspose.com/ocr/net/ Solutions: https://docs.aspose.com/ocr/net/use-cases/ Free support forum: https://forum.aspose.com/c/ocr/16
The fastest deep cloning library, supporting anything from .NET 4.6 to modern .NET 10+ with no dependencies. FastCloner uses a unique source generator capable of analyzing object graphs and cloning object without explicit annotations. For types that cannot be cloned, such as HttpClient, FastCloner uses a highly optimized reflection-based fallback. Zero dependencies, blazingly fast, built for developers who need cloning that just works.
This is a cross-platform library for creating, analyzing, and modifying Office Word documents without dependencies on MS Office. It exposes a robust and convenient object model (based on Open XML SDK) that provides access to document content and properties such as page settings, headers and footers, and so on. The object model was designed to make working with Office Word documents in code easier and more convenient. For example, the notion of ranges allows you to create accessor objects that stay with the designated portions of content even while the document is being modified. In addition, a platform-independent layout engine https://www.nuget.org/packages/GrapeCity.Documents.Word.Layout/ is provided which supports rendering and exporting Word documents to PDF and image formats. This library is compatible with .NET 8, .NET 7, .NET 6, .NET Standard 2.x, .NET Framework 4.6.1 or higher. All features are fully supported on Windows, macOS and Linux. The online demo browser is available at https://developer.mescius.com/document-solutions/dot-net-word-api/demos/
Display all the Dependency Injection services in Mvc or Api project, developers can view all of the services through the browser, include Lifetime(Singleton, Transient, Scoped), ServiceType(IHttpContextFactory, ILoggerFactory...) and ImplementationType(Microsoft.AspNetCore.Http.HttpContextFactory, Microsoft.Extensions.Logging.LoggerFactory...) and other User-defined services.
A fully-fledged IoC framework that provides dependency injection and has no reflection underneath the hood, that is based on roslyn source generators.
The consumable APIs for ThunderboltIoc.
The source generator project used to analyze registrations and generate the necessary services' factories for ThunderboltIoc.
Display all the Dependency Injection services in Mvc or Api project, developers can view all of the services through the browser, include Lifetime(Singleton, Transient, Scoped), ServiceType(IHttpContextFactory, ILoggerFactory...) and ImplementationType(HttpContextFactory, LoggerFactory...) as well as other User-defined services.
Messaging between .NET services: commands, events, requests and responses over RabbitMQ, Kafka, NATS, ActiveMQ, Azure Service Bus, Amazon SQS or NetMQ. Hosting with dependency injection, handlers, Rx streams, System.Text.Json, OpenTelemetry, analyzers and a source generator.
Puma Scan Community Edition is a free software security analyzer providng real time, continuous source code analysis as development teams write and build code. Puma Scan hunts for vulnerabilities identified in the OWASP Top 10, SANS/CWE Top 25, and other common insecure coding patterns. This version contains only updated references to not be dependant on vulnerable libraries reported by Mend.
Asyncify-CSharp is an analyzer and codefix that allows you to quickly update your code to use the Task Asynchronous Programming model. This model, introduced in C# 5, adds an intuitive way of handling asynchronous calls within C#. The analyzer allows large codebases to be easily modified to use the TAP model by finding violations and applying fixes up the call tree. This version contains all the dependencies upgraded.
Compiler-backed C#/.NET code intelligence for coding agents. Explore symbols and call graphs, inspect diagnostics, analyze complexity, dependencies, and impact, and safely edit and refactor solutions through MCP.
Complete FastMoq testing framework with provider-first test doubles, automatic dependency injection, provider-neutral verification, and first-party helpers for EF Core, Azure SDK, Azure Functions, HttpClient, and ASP.NET Core. Includes Roslyn analyzers for migration guidance.
Analyzes dependencies, concerning their licenses and vulnerabilities, used in projects developed in .NET platform. For .NET Core projects, install this tool https://www.nuget.org/packages/dotnet-dependency-analyzer
Build-blocking .NET engineering rules for strongly typed, descriptive, dependency-injected, asynchronous applications.
Document Solutions for Word (DsWord) is a cross-platform library for creating, analyzing, and modifying Office Word documents without dependencies on MS Office. It exposes a robust and convenient object model (based on Open XML SDK) that provides access to document content and properties such as page settings, headers and footers, and so on. The DsWord object model was designed to make working with Office Word documents in code easier and more convenient. For example, DsWord's notion of ranges allows you to create accessor objects that stay with the designated portions of content even while the document is being modified. In addition, DsWord provides a platform-independent layout engine that supports rendering and exporting Word documents to PDF and image formats (https://www.nuget.org/packages/DS.Documents.Word.Layout/). DsWord is compatible with .NET 8, .NET 7, .NET 6, .NET Standard 2.x, .NET Framework 4.6.1 or higher. All features are fully supported on Windows, macOS and Linux. The online Documents for Word sample browser is available at https://developer.mescius.com/document-solutions/dot-net-word-api/demos/
3-Heights® PDF Analysis & Repair is a fast and robust API for detecting and repairing corrupted PDF documents. Ideal for automating your business processes. Suitable for single and bulk document processing. PDF software by developers for developers • Monthly feature releases • No external dependencies • Comprehensive manual and code samples Visit our website to get your free evaluation license now. • Fully functional 30-day trial • Free support directly from our developers during the evaluation period For information about Pdftools versioning, supported releases, and version availability, review Release management at https://www.pdf-tools.com/docs/support/release-management/.
Helpers & extensions for writing Roslyn analyzers and code fixes. This is a package with source files to avoid binary dependency for the analyzer. To work it requires dependency on TunnelVisionLabs.ReferenceAssemblyAnnotator <ItemGroup> <PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[6.0.0]" /> <PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" /> </ItemGroup>
38 compile-time Roslyn diagnostics for Microsoft.Extensions.DependencyInjection: a dependency injection lifetime analyzer covering captive dependencies, DI scope leaks, BuildServiceProvider misuse, circular dependencies, and unresolvable services in ASP.NET Core and .NET apps—before runtime. No runtime dependency. Ships starter editorconfig profiles and the di-scan tool for scanning existing repositories.
The attributes used to describe AsyncAPI channels, operations, messages and parameters for Bielu.AspNetCore.AsyncApi. Split into its own dependency-free package so contract assemblies can be annotated without referencing ASP.NET Core. Ships the BASYNC Roslyn analyzers that catch attribute misuse at compile time.
Analyzers and code fixes for Chickensoft.AutoInject.
Validate the usage of dependency injection at compile time, rather than run time.
Improve cohesion and modularity through hierarchical structure and unidirectional (non-circular) dependencies. Eunice analyses code and shows if dependencies are unidirectional or circular across the hierarchical structure.
.NET CLI tool that analyzes dependencies, concerning their licenses and vulnerabilities, used in projects developed in .NET Core. For .NET Classic projects, install this package https://www.nuget.org/packages/DotnetDependencyAnalyzer.
Compile-time Roslyn analyzers and code fixes for .NET HttpClient, IHttpClientFactory, AddHttpClient typed clients, named clients, Polly, and Microsoft.Extensions.Http.Resilience. Catch socket exhaustion, missing PooledConnectionLifetime, stale DNS, DI lifetime leaks, stacked AddStandardResilienceHandler pipelines, unsafe POST retries, ResponseHeadersRead disposal, CancellationToken gaps, and sync-over-async at build time—before production, not at runtime. Analyzer-only: no application runtime dependency.
This is a set of custom Roslyn analyzers. It is a dependency of Audacia.CodeAnalysis and shouldn't need to be referenced directly.
Migrate .NET solutions to NuGet Central Package Management (CPM). Generate Directory.Packages.props, analyze dependency health (version drift, transitive conflicts, vulnerabilities), auto-fix package issues, unify Directory.Build.props, and update NuGet packages with test verification and rollback — including --bisect to keep the largest green subset. --remediate clears CVEs with the smallest version bump that fixes them, test-verified and re-scanned to prove it.
Provider-first FastMoq runtime for automatic test double creation, constructor injection, provider-neutral verification, and test helper primitives. Includes the default reflection provider, bundled Moq compatibility, and Roslyn analyzers for migration guidance.
Ducky.Sdk is a comprehensive .NET SDK for developing mods for the "Escape from Duckov" game. Features: 🚀 Automated Build Pipeline - Auto-deploy to game directory on build 🌍 Smart Localization - Source generator-based localization system with CSV/file translations 📦 Single DLL Distribution - Automatic assembly merging via ILRepack for conflict-free deployment 🔧 Harmony Integration - Optional runtime patching support with seamless dependency management 🎨 Auto-Generated Assets - Automatic generation of mod metadata and preview images 📝 Strongly-Typed Development - Full IntelliSense support and compile-time validation 🔄 Source Distribution - SDK distributed as source code to avoid version conflicts Perfect for modders who want a modern, type-safe development experience with automated workflows. --- Ducky.Sdk 是一个用于为"Escape from Duckov"游戏开发 Mod 的综合性 .NET SDK。 功能特性: 🚀 自动化构建管道 - 构建时自动部署到游戏目录 🌍 智能本地化 - 基于源生成器的本地化系统,支持 CSV/文件翻译 📦 单 DLL 分发 - 通过 ILRepack 自动合并程序集,无冲突部署 🔧 Harmony 集成 - 可选的运行时补丁支持,无缝依赖管理 🎨 自动生成资源 - 自动生成 Mod 元数据和预览图 📝 强类型开发 - 完整的 IntelliSense 支持和编译时验证 🔄 源码分发 - SDK 以源代码形式分发,避免版本冲突 为希望获得现代化、类型安全开发体验和自动化工作流的 Mod 开发者量身打造。
Dependency injection by setting attributes and using a source generator to register service types.
Pure C# MeCab-compatible morphological analyzer for DotNetG2P. Apache-2.0 licensed, no native dependencies. Provides ITokenizer implementation using Darts-clone double-array trie and Viterbi decoder for Japanese text analysis with naist-jdic dictionary.
Roslyn analyzers enforcing opinionated .NET conventions at compile time. Code fixes for most rules, covering design (sealed-by-default, async void, sync-over-async, in-modifier safety, primary constructor fields, FileSystemInfo equality, TimeProvider, IHttpClientFactory, TimeSpan for durations, mutable collection exposure, DI registration, Task.Run async lambda, excessive inheritance, enum switch, List<T> as IReadOnlyList<T>, Dictionary<K,V> as IReadOnlyDictionary<K,V>, unused interface params, static readonly arrays as ImmutableArray, stale ReferenceAssemblies, readonly struct init, ByteSize for data-size values, ByteSize unwrap via cast), reliability (DateTime.Parse roundtrip, GeneratedRegex timeout/backtracking, hardcoded /tmp paths, Task.FromResult sync I/O, Task.WhenAll unbounded/cancellation, JsonDocument lifetime, concurrency limits, catch filter OCE, options bind init, HttpClient missing OCE catch, FileInfo.Exists TOCTOU, unprotected finally cleanup, disk write-then-read round-trip, pool capacity guard, QuerySelectorAll materialization, TextContent length guard, GetAttribute element type, CompositeDetection specificity, sync local function call), performance (MinBy/MaxBy, HttpCompletionOption, string interpolation, ToArray in foreach, FrozenSet allocation, multi-string OR-chain, static readonly frozen collections, loop complexity, SHA256.HashData, StringBuilderPool), security (FIPS-approved hash algorithms, insecure Random in crypto context), style (string.Empty, Encoding.UTF8, XML doc comments, temp path conventions, null-forgiving operator, suppression audit, pragma balance, IDE1006 naming rule fix), and testing (temp directory cleanup, stale ReferenceAssemblies, Trait category). The assemblies target netstandard2.0 and the package declares no dependencies. The package ships one build per Roslyn band, so the base rules load in a .NET 10.0 host and the union rules load in a .NET 11.0 host.
Register services with attributes. Skip manual registration in Program.cs!
DisCatSharp Analyzer - a recommended developer dependency to make writing bots in DisCatSharp easier. This package provides various custom analyzer rules specific for DisCatSharp. You can read more about the rules here: https://docs.dcs.aitsys.dev/vs/. We also provide certain codefixes if we introduce breaking changes in the future. Please install it to ensure we can do our changes, and you can receive our updates <3
Core package for Cometary, required by the analyzer to edit the dependant assembly. It defines the CompilationEditor type, used to edit assemblies during compilation.
This package is a dependency for the VertiPaq Analyzer Obfuscator NuGet package and is automatically included as a prerequisite. It should not be installed manually.
Roslyn analyzers that enforce restrictions on dependencies between namespaces.
This package contains a Roslyn Analyzers to detect the reference of a dependency which has privacy-related issues.
The dependency-free, AOT-safe attributes and lifecycle interfaces shared between Prowl.Ember (the hot reload engine) and the code being reloaded. Reference this from your runtime and game assemblies; reference the full Prowl.Ember only from your editor or host.
Roslyn analyzers for Macro Deck plugin authors: invalid ids and metadata, unsupported or obsolete SDK APIs, missing cancellation handling, invalid capability registration, and common dependency-injection and lifecycle mistakes, caught at compile time with actionable messages.