Troubleshooting — EricksonLopez.Mapper
Diagnostics emitted by EricksonLopez.Mapper.Generator and EricksonLopez.Mapper.Analyzers (2.0.0 NuGet).
Verified Roslyn Diagnostic Catalog (2.0.0)
Section titled “Verified Roslyn Diagnostic Catalog (2.0.0)”ELM001–ELM007: Unmapped destination properties (StrictMapping = true) and structural member incompatibilities. Add[MapProperty]or[MapIgnore].ELM008/ELM009(Analyzers): Disallowed runtime reflection ordynamicusage in mapper types.ELM010: Cycle detected in[MapDerivedType]inheritance graph (v2.0.0).ELM012(Analyzers):[Mapper]class or interface is missing thepartialmodifier.ELM013–ELM016: Member signature, nullability, and converter resolution issues.ELM017(v2.0.0): Unresolved[MapFactory]method name or incompatible factory signature.ELM018(v2.0.0): Duplicate[MapProperty]mapping targeting the same destination member.
Version Note:
ELM025(decimal-to-float/double precision loss warning) exists in unreleased local3.0.0HEAD, not published2.0.0.
Missing EricksonLopez.Mapper.Abstractions Namespace
Section titled “Missing EricksonLopez.Mapper.Abstractions Namespace”Even though [Mapper] and IConverter<,> ship in EricksonLopez.Mapper.Abstractions, they declare namespace EricksonLopez.Mapper;. Import using EricksonLopez.Mapper;.