143

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.

Xavier Peña
  • 7,399
  • 9
  • 57
  • 99
  • 37
    Select **Deploy** also from Configuration Manager for android project. – eakgul Jun 07 '16 at 09:18
  • That was it, thank you very much. The error (Project not selected to *build* for this solution configuration) was a bit confusing, plus the answers on this error were all pointing out to the *Build* checkbox, not the *Deploy* one. Being new to Xamarin I didn't know that *Deploy* on Android needed to be checked, and the project in git didn't have it checked for some reason (when creating a new Visual Studio project, the checkbox is indeed checked by default). – Xavier Peña Jun 07 '16 at 09:26

4 Answers4

192

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

Community
  • 1
  • 1
Morteza Zabihi
  • 2,884
  • 1
  • 20
  • 20
27

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

zakaria kasmi
  • 488
  • 6
  • 10
6

Select Deploy also from Configuration Manager for android project

Sanjeevi Subramani
  • 501
  • 1
  • 5
  • 16
0

Select the device deployment project from Configuration manager.

here it is the screenshot enter image description here