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
<PackageReference Include="Eternet.Agents.Control.Plugins.Assertions" Version="0.1.1" />
<PackageVersion Include="Eternet.Agents.Control.Plugins.Assertions" Version="0.1.1" />
<PackageReference Include="Eternet.Agents.Control.Plugins.Assertions" />
paket add Eternet.Agents.Control.Plugins.Assertions --version 0.1.1
#r "nuget: Eternet.Agents.Control.Plugins.Assertions, 0.1.1"
#:package Eternet.Agents.Control.Plugins.Assertions@0.1.1
#addin nuget:?package=Eternet.Agents.Control.Plugins.Assertions&version=0.1.1
#tool nuget:?package=Eternet.Agents.Control.Plugins.Assertions&version=0.1.1
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:
AssertionMigrationPluginis only the plugin adapter. It registers metadata and wires providers into EAC.Diagnostics/AssertionPackageMigrationDiagnosticProviderdetectsEPKG002.Transformers/AssertionPackageMigrationTransformerapplies the migration throughIEacTransformerProvider.Versioning/NuGetAssertionPackageVersionResolverresolves the targetAwesomeAssertionsversion.AssertionPackageMigrationcontains the shared migration engine used by detection and apply.AssertionPackageMigrationProvideris 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
IEacTransformerProviderwhen 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 | 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. |
-
net10.0
- Eternet.Agents.Control.Abstractions (>= 0.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.