When you compile your Visual Studio solution, you may run into this error:
Project not selected to build for this solution configuration
Solution
This problem occurs especially when you convert your project between different versions of Visual Studio. In order to get this away, go to solution properties and select “Build” for the project you want to run.