Project not selected to build for this solution configuration

83,292

Solution 1

As Kowalski said, You must check Deploy Option on Configuration Manager. RightClick on the solution and select Configuration Manager. Then Check Deploy Option for the startup Project. As this image

enter image description here

Solution 2

go To Build => Configuration Manager . then check the deploy checkbox for the startup project . Ps. make sure to select your startup project by right clicking on the project => set as startup project

Solution 3

Select Deploy also from Configuration Manager for android project

Share:
83,292
Xavier Peña
Author by

Xavier Peña

Updated on October 04, 2020

Comments

  • Xavier Peña
    Xavier Peña over 3 years

    The error:

    >------ Skipped Deploy: Project: DrawShape.Android, Configuration: Debug Any CPU ------
    >Project not selected to build for this solution configuration 
    

    The configuration in Configuration Manager seems correct:

    Configuration Manager

    This is the code of the project I am trying to build:

    https://github.com/chrispellett/Xamarin-Forms-Shape


    What I have tried so far:

    Changing from Any CPU to x86 and back.

    Setting the Build checkbox to false and then back to true.

  • DeltaCap019
    DeltaCap019 over 7 years
    Yes we need to check deploy checkbox
  • LeonardoX
    LeonardoX almost 7 years
    I've been facing with this in a CI build server and for me was enough to check build column (it was unchecked)
  • Arvind Gautam
    Arvind Gautam about 4 years
    I was facing the same issue while building the window service through CI build, and just checked the build column and it worked for me.
  • user1034912
    user1034912 almost 3 years
    Thanks but why is this even a thing?? such an obvious fix for VS