Xavier Peña
Xavier Peña

Reputation: 7919

Project not selected to build for this solution configuration

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.

Upvotes: 157

Views: 112998

Answers (4)

Kashif Usman I
Kashif Usman I

Reputation: 31

Select the device deployment project from Configuration manager.

here it is the screenshot enter image description here

Upvotes: 2

zakaria kasmi
zakaria kasmi

Reputation: 509

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

Upvotes: 29

Sanjeevi Subramani
Sanjeevi Subramani

Reputation: 581

Select Deploy also from Configuration Manager for android project

Upvotes: 7

Morteza Zabihi
Morteza Zabihi

Reputation: 3054

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

Upvotes: 206

Related Questions