Posts
1150
Comments
891
Trackbacks
1
Strange AutoMapper 3.3.1 Problem

Add AutoMapper from Nuget, build, compiles, fine, run…..exception.  Automapper.dll file cannot be found.  Sure enough, it ain’t there.  Automapper.Net4.dll is there, but not the other.

Manually copy over file to bin directory, rebuild, no problem.

Not sure what causes this, but it’s obviously a problem, especially with all the different build configurations I have.

 

Update: once I uninstalled and reinstalled at the project level (as opposed to solution level), the problem resolved itself.

God, I hate Nuget.

posted on Wednesday, March 11, 2015 1:04 PM Print
Comments
Gravatar
# re: Strange AutoMapper 3.3.1 Problem
Jimmy Bogard
3/11/2015 1:52 PM
You might try the 4.0 prerelease, I've collapsed all of the platform-specific assemblies down. Sigh. Cross platform kinda sucks.
Gravatar
# re: Strange AutoMapper 3.3.1 Problem
Foxbari
11/10/2015 9:44 PM
4.1.1 has the EntityCollection mapping problem.
EntityCollection is already initialized.
This was supposed to be fixed in 4.0.1 and before but still getting the error.
Thanks

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 8 and 4 and type the answer here: