Building Riok.Mapperly.IntegrationTests
fails with "Generator 'MapperGenerator' failed to generate source..." in VS 2022.17.11.4
#1516
Labels
bug
Something isn't working
Describe the bug
As title.
Additional context
Running
msbuild -fl
from the root of the repo yieldsThe offending method
ObjectMemberMappingBodyBuilder.BuildMappingBody(MappingBuilderContext, IMemberAssignmentTypeMapping)
contains the following code:Forcing an explicit materialisation of the collection used in this
foreach
fixes the issue and all tests pass:This is similar to #1403 and its fix #1438.
The text was updated successfully, but these errors were encountered: