Closed slubowsky closed 6 years ago
Try the MyGet for the 7.0.0 fix. Just use Automapper.Collections and allow pre-releases
Yes! It works. OK then, Ill just wait for the update. Thanks!
When did you plan to release the new version?
Until the other stuff was done but didn't hear back so, now it's released.
Hi. What versions have this issue fixed? When they will be available on nuget.org? PS I have updated to the latest release versions (7.0.1/3.1.4), but error still exist.
Same. I saw the new version hoping this would fix the issue and sadly it hasn't.
As @Tasteful has pointed out to me, I forgot to merge all the changes into the master before building a release. It's building now but will be 4.0.0
Mapping that works as expected in 6.2.2 and earlier fails with a MissingMethodException in 7.0.0
Inner exception is:
Stack Trace
" at lambda_method(Closure , UpdateViewModel , Model, ResolutionContext )\r\n at Controller.Map[TA,TB](TA source, TB destination) in D:\\dev\\Controller.cs:line 63"
I have tried to determine the cause but have been unable to do so.
My mapping looks like this:
where I have ignored every single source member (including the one that shows up as PropertyMap in the exception - it happens to be a collection like many other properties in my code that are succesfully mapping) and still get it - despite every single member being set to ignore.
This is the only mapping - of dozens - that is causing a problem, and again there is no issue before upgrading to version 7.0.0
I had originally opened this issue in Automapper https://github.com/AutoMapper/AutoMapper/issues/2666 but issue was closed and it was recommended it be opened here instead
Perhaps this is covered by https://github.com/AutoMapper/AutoMapper.Collection/issues/88?