vs编译项目报错:The OutputPath property is not set for this project

今天使用VS2008编译项目时报错:

The OutputPath property is not set for this project.  Please check to make sure that you have specified a valid Configuration/Platform combination.  Configuration='Debug'  Platform='x86'

 

解决办法如下:

1.选中编译失败的项目,右键点击卸载项目

2.选中卸载后的项目,右键点击编辑项目

3.对比生成成功的项目与编译失败项目的 PropertyGroup Condition=" '$(Configuration)|$(Platform)' 节点,并修改。

4.保存修改后,重新加载项目,生成成功。

转载于:https://www.cnblogs.com/Jeremy2001/p/10898215.html

你可能感兴趣的:(vs编译项目报错:The OutputPath property is not set for this project)