TargetPlatformVersion Error

Borisoprit 371 Reputation points

I have an Error on some of the projects , when i build it.

I selected Android and iOs when i made the project

Made a lot of projects but this is the first time i see this .How can i fix this ?

1>C:\Users\......\.nuget\packages\xamarin.forms\\buildTransitive\Xamarin.Forms.targets(232,5): warning : Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1)

1>C:\Users\......\.nuget\packages\xamarin.forms\\buildTransitive\Xamarin.Forms.targets(238,5): warning : Xamarin.Forms recommends TargetPlatformVersion >= 10.0.17763.0 (current project is -1)
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,921 questions
No comments
{count} votes

Accepted answer
  1. 2020-12-29T06:56:46.823+00:00


    Welcome to Microsoft Q&A!

    Try to uninstall and reinstall Xamarin.essentials.

    Check the similar issue : .

    Thank you.

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 additional answers

Sort by: Most helpful
  1. Alessandro Caliaro 3,436 Reputation points

    It seems you have not selected the target platform in your android project. Go to android project’s properties and choose the target platform

  2. Borisoprit 371 Reputation points

    Every time i make a new project is see the error .

    This is oke i think ?


  3. Borisoprit 371 Reputation points

    These are the standerd items when start a new one on my Visual Studio

  4. Borisoprit 371 Reputation points


    I removed Xamarin.Essentials and installed again , but no luck.

    When update also no luck.

    Visual Studio version 16.8.3 Xamarin.Essentials the update to 1.60