“OutputPath Property is not set for Project” Error when building a Windows Azure Cloud Service in VS 2010

If you’ve even seen the following error when trying to build a Windows Azure Cloud Service Visual Studio 2010:

OutputPath property is not set for project 'CloudService1.ccproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='HPD'.  

The solution is to delete the Platform environment variable that may have been added to your machine as it conflicts with an environment variable of the same name that MSBUILD uses. (more info here)

image

This environment variable is added on HP machines and does impact a number of different scenarios with Visual Studio and Expression Blend.

Comments

  • Anonymous
    May 27, 2010
    Thank you very much for finding the solution

  • Anonymous
    November 18, 2011
    I found many other possible reasons for the error and it took a long time to exhaust them before I found this solution. Thank you.

  • Anonymous
    July 22, 2014
    thanks! hit this problem after moving to new HP PC. (Took sooo long to diagnose...)

  • Anonymous
    August 03, 2014
    Thanks for the solution. This was a real bugg to get solved.

  • Anonymous
    September 07, 2015
    That is very great consuming that I am a powerful good hacker I stop all bad if help come to meee