One of the tedious issues that sometimes pop up when using Visual Studio is  the “Project not selected to build for this solution configuration” issue. Let’s see what causes it, and how to to quickly solve it.

Let’s say that you have been asked to make some modifications to an existing project; so you download it from the repository, make some changes, and then you try to deploy the solution.

Instead of the expected deployment, however, Visual Studio will present you  the following message:

2>—— Skipped Deploy: Project: Contacts.Droid, Configuration: Debug Any CPU ——
2>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 1 skipped ==========

Luckily this particular problem can be easily solved taking two easy steps:

1) Open the configuration manager at Build > Configuration Manager

open the configuration manager

2) Check the deploy box for your project

Check project for deploy

Done! Now you can deploy your solution as expected.

Advertisements