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

相关文章:

  • 2021-10-08
  • 2021-06-06
  • 2022-12-23
  • 2022-01-06
  • 2021-08-20
  • 2022-12-23
  • 2021-07-18
  • 2021-11-13
猜你喜欢
  • 2021-07-02
  • 2021-09-23
  • 2022-12-23
  • 2021-07-25
  • 2021-06-03
  • 2021-04-24
  • 2021-06-17
相关资源
相似解决方案