Base solution for your next web application
Open Closed

Xamarin Nuget reference warnings #5044


User avatar
0
vermis created

Dear,

In the Mobile solution many Nuget references have warnings like this: Package 'modernhttpclient 2.4.2' was restored using '.NETPortable,Version=v0.0,Profile=Profile259, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

Here is the image: <a class="postlink" href="https://gyazo.com/de4f962243427bcba066683c96f87330">https://gyazo.com/de4f962243427bcba066683c96f87330</a>

The projects in VS are set to .NET Standard 2.0. Everything is default as from your template.

Is this normal?

What are the proper settings when downloading Net Zero template if I plan do build also a Mobile App? Project type: ASPNet COre & Angular and Framework .Net Core 2?

Best regards, Damir


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    see <a class="postlink" href="https://github.com/xamarin/Xamarin.Forms/issues/1886">https://github.com/xamarin/Xamarin.Forms/issues/1886</a>

  • User Avatar
    0
    vermis created

    I see. So the problem is outside the scope of your team.

    But what does this mean for my application? Will the mobile app work regarding the warnings? What can I do?

    And what regarding my second question: What are the proper settings when downloading Net Zero template if I plan do build also a Mobile App? Project type: ASPNet COre & Angular and Framework .Net Core 2?

    Best regards, Damir

  • User Avatar
    0
    alper created
    Support Team

    hi,

    it gives the warning but it works, no problem. Xamarin configuration doesn't depend on front-end technology. Both "ASP.NET Core & Angular" and"ASP.NET Core & JQuery" contains Xamarin application.

    see <a class="postlink" href="https://aspnetzero.com/Documents/Version-Differences">https://aspnetzero.com/Documents/Version-Differences</a>