From 35c08039872c9df39892ead7f38d4d9eddb1660a Mon Sep 17 00:00:00 2001 From: Maxim Ivanov Date: Fri, 30 Oct 2015 13:48:34 +0100 Subject: [PATCH 1/2] Restoring service constructor in RegisterProfiles in case if AutoMapper is used with a DI framework like Ninject --- AutoAutoMapper/AutoAutoMapper.csproj | 27 +++++++++++++++++++++++---- AutoAutoMapper/AutoProfiler.cs | 8 ++++++++ AutoAutoMapper/packages.config | 4 +++- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/AutoAutoMapper/AutoAutoMapper.csproj b/AutoAutoMapper/AutoAutoMapper.csproj index 9f500b8..e8cb37b 100644 --- a/AutoAutoMapper/AutoAutoMapper.csproj +++ b/AutoAutoMapper/AutoAutoMapper.csproj @@ -33,12 +33,24 @@ 4 - - False - ..\packages\AutoMapper.2.1.267\lib\net40\AutoMapper.dll + + ..\packages\AutoMapper.4.1.1\lib\net40\AutoMapper.dll + True + + ..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.IO.dll + True + + + ..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Runtime.dll + True + + + ..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Threading.Tasks.dll + True + @@ -54,10 +66,17 @@ Designer - + + Designer + + + + + +