Version of Aspnet zero:
ASP.NET CORE & Angular .NET Core 2.2 v7.2.3
I have been trying to configure Xamarin project as per the documents here https://docs.aspnetzero.com/en/aspnet-core-angular/v7.2.0/Development-Guide-Xamarin but getting this error from VS 2017 and requesting out for some help here.
Severity Code Description Project File Line Suppression State
Error Can not resolve reference: Microsoft.AspNetCore.Http.Features
, referenced by OneSense.Application.Client
> OneSense.Application.Shared
. Please add a NuGet package or assembly reference for Microsoft.AspNetCore.Http.Features
, or remove the reference to OneSense.Application.Client
. OneSense.Mobile.Droid C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1898
This is Application.Client and it has some nuget conflict issue. I have installed Microsoft.AspNetCore.Http.Features in the project but still don't know why build is compalining that it cannot resolve the package Could anyone guide how can this be fixed.
I got this version of ASPPNET Zero few months back and was working on Angualr and .NET Core WepAPI Part of the same which is working perfectly. With now my API ready and hosted in private beta for testing I have started working in building a Xamarin app for the same and encountering this issue .Any guidance how can I proceed further.
Thnaks a lot for the help in advance
Regards, Zainudeen
3 Answer(s)
-
0
Hi @zdeen,
Could you try this with VS 2019 ?
Thanks,
-
0
Got the same error as in VS2017 and the conflict still exists Can not resolve reference:
Microsoft.AspNetCore.Http.Features
, referenced byOneSense.Application.Client
>OneSense.Application.Shared
. Please add a NuGet package or assembly reference forMicrosoft.AspNetCore.Http.Features
, or remove the reference toOneSense.Application.Client
. OneSense.Mobile.DroidThe nuget package issue :
Could you please guide if I should download the original project once again from my account and check that as well.
-
0
Finally got the build succeded in VS 2017.Get the package Microsoft.AspNetCore.Http.Features in Droid project.The build suceeded and now trying to launch emulator and test the project.