Project not selected to build for this solution configuration

C#XamarinVisual Studio-2015

C# Problem Overview


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.

C# Solutions


Solution 1 - C#

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 - C#

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 - C#

Select Deploy also from Configuration Manager for android project

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionXavier PeñaView Question on Stackoverflow
Solution 1 - C#Morteza ZabihiView Answer on Stackoverflow
Solution 2 - C#zakaria kasmiView Answer on Stackoverflow
Solution 3 - C#Sanjeevi SubramaniView Answer on Stackoverflow