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.保存修改后,重新加载项目,生成成功。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM