I'm trying to create a custom mapping with AutoMapper, but I can't use 3.0 syntax with lambdas. How would one convert this 3.0 code into 2.0 ?
Mapper.CreateMap<MyClass, MyDto>()
.ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.CompanyName))
Edit:
Since there was no better solution, we are now using vs2008 on one workstation to make these mappings and build a dll. I hope it won't be long until we upgrade to vs2010.