Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Mobile app - DependencyResolver' is an ambiguous reference #5338


User avatar
0
jaycee26 created

Just purchased the template and the asp-core and angular project build ok.

When building the mobile app on either Windows or Mac VS I get an error that 'DependencyResolver' is an ambiguous reference between 'myApp_Test.Core.Dependency.DependencyResolver' and 'Xamarin.Forms.Internals.DependencyResolver' myApp_Test.Mobile.Shared C:\Users\xyz \aspnet-core\src\MyApp_Test.Mobile.Shared\ViewModels\MainViewModel.cs

Could anyone help to point me in the right direction? I have updated all the packages for the solution.

When downloading the template I selected latest version of ASP.NEt Core 2 + Angular

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Jaycee26,

    Is this happened after upgrading the all packages for the solution ? If so, please use the version we provide or at least leave Xamarin related packages as is because almost always Xamarin packages cause such kind of problems and we fix them before every release.

    Thanks.