1

I am trying to run the Mobile project of ASP.NET Zero following their docs for Developing-Step-By-Step-Xamarin. When I build the project, I get this error:

XA2002: Can not resolve reference: Abp.AutoMapper, referenced by Acme.PhoneBookDemo.Mobile.Shared. Please add a NuGet package or assembly reference for Abp.AutoMapper, or remove the reference to Acme.PhoneBookDemo.Mobile.Shared.

The package Abp.AutoMapper is installed in Acme.PhoneBookDemo.Mobile.Shared

and it is already referenced in the *.csproj:

<PackageReference Include="Abp.AutoMapper" Version="4.2.0" />

Can you please help me?

aaron
  • 39,695
  • 6
  • 46
  • 102
A.HADDAD
  • 1,809
  • 4
  • 26
  • 51

1 Answers1

1

Solved , the package wasn't installed in *.Droid project but installed in *.Ios and *.Mobile.Shared projects. Installing it in the *.Droid project resolve the issue.

A.HADDAD
  • 1,809
  • 4
  • 26
  • 51
  • 2
    Does this mean you have to put all the references in the Droid project even for packages only referenced in the Shared project? – Paul McCarthy Sep 25 '19 at 12:33