The OutputPath property is not set for project '.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Release' Platform='Any CPU'

I am busy upgrading a large project originally built with Visual Studio 2008 and TSF2008.  We are upgrading to Visual Studio 2015 and TFS2013.  During this process I was getting the following error on TFS:
The OutputPath property is not set for project '<project>.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Release'  Platform='Any CPU'
Notice the space between 'Any' and 'CPU' in the platform property.  In 2008 it seems like there was no space.  To fix this you have two options, change your project files to use 'Any CPU' or change your TFS build scripts to pass in 'AnyCPU'.

Comments

Popular Posts