Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Automapper for .net 3.5

I would like to use Automapper with .net 3.5.

I have found a branch on Git hub, thanks to this post by the creator Jimmy Bogard:

...but I can't figure out how to install it.

The .net 4 version is installed using nuget

Anyone know how I install the .net 3.5 version?

Do I just build it myself, and use it as my own project?

If so how do I build it? Do I need to create a NuGet package?

like image 289
iKode Avatar asked Nov 17 '11 14:11

iKode


2 Answers

https://github.com/downloads/AutoMapper/AutoMapper/AutoMapper.dll

This .dll is version 1.1 which according to the site is the last .net 3.5 version. Just reference it in your project and it should work.

like image 55
lalibi Avatar answered Oct 07 '22 21:10

lalibi


No need to build the source yourself. AutoMapper 1.1 is available on NuGet at http://nuget.org/packages/AutoMapper/1.1.0.118

PM Console command is PM> Install-Package AutoMapper -Version 1.1.0.118

like image 21
aponzani Avatar answered Oct 07 '22 20:10

aponzani