AutoMapper / AutoMapper.Collection

AutoMapper support for updating existing collections by equivalency
MIT License
245 stars 59 forks source link

InvalidOperationException: variable 'model' of type 'Models.ItemModel' referenced from scope '', but it is not defined #141

Closed mc0re closed 1 year ago

mc0re commented 4 years ago

InvalidOperationException: variable 'model' of type 'Models.ItemModel' referenced from scope '', but it is not defined

This bizarre error occurs in the test case and when running the project. Reproduction project: https://github.com/mc0re/AutoMapperCollectionError It's probably not really minimal, but hopefully small enough :-)