Eternet.Agents.Control.Plugins.Assertions 0.1.1

Prefix Reserved
dotnet add package Eternet.Agents.Control.Plugins.Assertions --version 0.1.1
                    
NuGet\Install-Package Eternet.Agents.Control.Plugins.Assertions -Version 0.1.1
                    
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="Eternet.Agents.Control.Plugins.Assertions" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eternet.Agents.Control.Plugins.Assertions" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Eternet.Agents.Control.Plugins.Assertions" />
                    
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 Eternet.Agents.Control.Plugins.Assertions --version 0.1.1
                    
#r "nuget: Eternet.Agents.Control.Plugins.Assertions, 0.1.1"
                    
#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 Eternet.Agents.Control.Plugins.Assertions@0.1.1
                    
#: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=Eternet.Agents.Control.Plugins.Assertions&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Eternet.Agents.Control.Plugins.Assertions&version=0.1.1
                    
Install as a Cake Tool

Eternet.Agents.Control.Plugins.Assertions

EAC plugin for assertion-library migrations.

The initial plugin exposes EPKG002, which detects FluentAssertions package metadata and supported C# using directives, then migrates them to AwesomeAssertions.

The migration is version-aware: when an existing AwesomeAssertions version is lower than 9, package metadata is migrated but using FluentAssertions; directives are preserved because AwesomeAssertions 8 still exposes that namespace.

Module Shape

The plugin is intentionally split by EAC responsibility so future plugin authors do not have to infer a mixed runtime model:

  • AssertionMigrationPlugin is only the plugin adapter. It registers metadata and wires providers into EAC.
  • Diagnostics/AssertionPackageMigrationDiagnosticProvider detects EPKG002.
  • Transformers/AssertionPackageMigrationTransformer applies the migration through IEacTransformerProvider.
  • Versioning/NuGetAssertionPackageVersionResolver resolves the target AwesomeAssertions version.
  • AssertionPackageMigration contains the shared migration engine used by detection and apply.
  • AssertionPackageMigrationProvider is an obsolete compatibility wrapper for callers that still expect the previous combined provider.

Runtime Choice

The preferred EAC plugin shape is Roslyn-first:

  • use Roslyn analyzers for diagnostics when possible;
  • use Roslyn code fixes when the fix maps cleanly to dotnet format analyzers;
  • use IEacTransformerProvider when the operation is an EAC-owned migration rather than a natural Roslyn code fix.

FluentAssertions to AwesomeAssertions currently fits the transformer path because it can touch package metadata and source using directives together, and it may need NuGet version resolution. A future Roslyn analyzer can still be added for editor feedback without replacing this transformer.

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

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
0.1.1 126 5/13/2026
0.1.0 98 5/12/2026