Make sure you do not have objects called "Mapper" in the current or parent namespace.
Try using the full name for Mapper, for example:
AutoMapper.Mapper.CreateMap<Address, AddressDTO>();
If this does not help, try clearing the ReSharper cache (if you are using R #), and then restart visual studio.
source share